Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 109.1 kB / 21.18 MB, free: 0.7734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001579/0.001579, allocations: 205.4 kB / 24.49 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 230.5 MB / 258.1 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|dcPowerSupply.P",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|dcPowerSupply.P",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 59.91 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2377, allocations: 53.41 MB / 432.5 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003686/0.2414, allocations: 2.067 MB / 434.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.2427, allocations: 0.5882 MB / 435.1 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.2428, allocations: 7.938 kB / 435.1 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.2429, allocations: 15.86 kB / 435.1 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.2431, allocations: 39.66 kB / 435.2 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.2434, allocations: 75.83 kB / 435.2 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003786/0.2438, allocations: 211.3 kB / 435.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.244, allocations: 33.25 kB / 435.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.2441, allocations: 87.75 kB / 435.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.2444, allocations: 83.72 kB / 435.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.2444, allocations: 16 kB / 435.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-05/0.2445, allocations: 24 kB / 435.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.2445, allocations: 31.86 kB / 435.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.725e-05/0.2446, allocations: 79.64 kB / 435.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.245, allocations: 200.5 kB / 436 MB, free: 3.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.245, allocations: 0 / 436 MB, free: 3.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.245, allocations: 0 / 436 MB, free: 3.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.245, allocations: 0 / 436 MB, free: 3.203 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009144/0.2459, allocations: 415.4 kB / 436.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.2459, allocations: 8.031 kB / 436.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.2461, allocations: 20.84 kB / 436.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.2465, allocations: 161.1 kB / 436.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.2466, allocations: 141.1 kB / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.2466, allocations: 16.38 kB / 436.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.247, allocations: 128.8 kB / 436.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.247, allocations: 0 / 436.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.247, allocations: 4 kB / 436.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.247, allocations: 0 / 436.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.2474, allocations: 119.8 kB / 437 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009982/0.2484, allocations: 490.4 kB / 437.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/0.2487, allocations: 106.7 kB / 437.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.2489, allocations: 44.83 kB / 437.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.2489, allocations: 4 kB / 437.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.249, allocations: 38.5 kB / 437.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.249, allocations: 0 / 437.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008826/0.2498, allocations: 226.3 kB / 437.9 MB, free: 1.152 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.2499, allocations: 55.34 kB / 437.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.25, allocations: 157.9 kB / 438.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.2501, allocations: 29.7 kB / 438.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.185e-05/0.2502, allocations: 116 kB / 438.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.2502, allocations: 31.73 kB / 438.3 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.316e-05/0.2503, allocations: 33.72 kB / 438.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2504, allocations: 318.8 kB / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.2506, allocations: 63.97 kB / 438.7 MB, free: 320 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.2508, allocations: 82.53 kB / 438.7 MB, free: 228 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.2511, allocations: 144.2 kB / 438.9 MB, free: 68 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2511, allocations: 0 / 438.9 MB, free: 68 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006529/0.2518, allocations: 264 kB / 439.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.2518, allocations: 41.77 kB / 439.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2518, allocations: 0 / 439.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002651/0.2521, allocations: 72.8 kB / 439.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.856e-05/0.2522, allocations: 19.92 kB / 439.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.2541, allocations: 1.522 MB / 440.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.2544, allocations: 43.95 kB / 440.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.2545, allocations: 8 kB / 440.8 MB, free: 13.96 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (dcPowerSupply.cp,dcPowerSupply.cc,dcPowerSupply.cv) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.2546, allocations: 125.8 kB / 441 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.2546, allocations: 15.91 kB / 441 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004234/0.2551, allocations: 175 kB / 441.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2551, allocations: 0 / 441.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.2551, allocations: 0.5625 kB / 441.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2551, allocations: 0 / 441.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.2553, allocations: 192.6 kB / 441.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2553, allocations: 0 / 441.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.983e-05/0.2554, allocations: 15.98 kB / 441.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001784/0.2556, allocations: 72.81 kB / 441.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.2556, allocations: 7.875 kB / 441.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/0.2572, allocations: 1.502 MB / 442.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2572, allocations: 0 / 442.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.2577, allocations: 260.3 kB / 443.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.2577, allocations: 15.89 kB / 443.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.2577, allocations: 0 / 443.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.2579, allocations: 15.98 kB / 443.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.2579, allocations: 11.98 kB / 443.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.258, allocations: 8 kB / 443.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.268e-05/0.258, allocations: 115.1 kB / 443.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.258, allocations: 0 / 443.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003181/0.2584, allocations: 47.94 kB / 443.4 MB, free: 11.2 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (dcPowerSupply.cv,dcPowerSupply.cc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001356/0.2585, allocations: 98.25 kB / 443.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006704/0.2592, allocations: 314 kB / 443.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2592, allocations: 0 / 443.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.2595, allocations: 162.7 kB / 444 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.2598, allocations: 31.2 kB / 444 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006595/0.2605, allocations: 304.7 kB / 444.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.2609, allocations: 0.7122 MB / 445 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.2609, allocations: 15.44 kB / 445 MB, free: 9.484 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2609, allocations: 0 / 445 MB, free: 9.484 MB / 350.1 MB Notification: Performance of Templates: time 0.005436/0.2663, allocations: 2.479 MB / 447.5 MB, free: 7.023 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupply/DemoPowerSupply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.406205584993586]