Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 214.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 51.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2532, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003749/0.2569, allocations: 1.997 MB / 434.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.2581, allocations: 0.5377 MB / 434.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.2582, allocations: 4 kB / 434.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.2583, allocations: 23.78 kB / 434.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.996e-05/0.2584, allocations: 35.7 kB / 434.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.2587, allocations: 71.83 kB / 435 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.259, allocations: 215.3 kB / 435.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.2591, allocations: 33.25 kB / 435.3 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.2593, allocations: 83.77 kB / 435.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.2595, allocations: 95.64 kB / 435.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.2595, allocations: 20 kB / 435.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.278e-05/0.2596, allocations: 24 kB / 435.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.184e-05/0.2596, allocations: 27.92 kB / 435.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.421e-05/0.2597, allocations: 71.7 kB / 435.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.26, allocations: 190.3 kB / 435.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.26, allocations: 0 / 435.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.26, allocations: 0 / 435.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.2601, allocations: 0 / 435.8 MB, free: 3.289 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.0008177/0.2609, allocations: 423.3 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2609, allocations: 12.03 kB / 436.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.2611, allocations: 20.84 kB / 436.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.2614, allocations: 156.9 kB / 436.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.2615, allocations: 141.1 kB / 436.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.2616, allocations: 12.38 kB / 436.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.2619, allocations: 202.9 kB / 436.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.2619, allocations: 0 / 436.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.262, allocations: 8 kB / 436.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.262, allocations: 4 kB / 436.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.2623, allocations: 117.3 kB / 436.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008759/0.2632, allocations: 419.1 kB / 437.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.2636, allocations: 110.7 kB / 437.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.2637, allocations: 44.83 kB / 437.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.2637, allocations: 11.88 kB / 437.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.2638, allocations: 30.56 kB / 437.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.2638, allocations: 0 / 437.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000898/0.2647, allocations: 226.3 kB / 437.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.2647, allocations: 59.41 kB / 437.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.2649, allocations: 141.8 kB / 437.8 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.2649, allocations: 33.7 kB / 437.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.265, allocations: 116 kB / 438 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.265, allocations: 27.75 kB / 438 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-05/0.2651, allocations: 33.7 kB / 438.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.2653, allocations: 322.8 kB / 438.4 MB, free: 460 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.2655, allocations: 89.67 kB / 438.5 MB, free: 364 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.2657, allocations: 112.2 kB / 438.6 MB, free: 236 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.266, allocations: 148.1 kB / 438.7 MB, free: 72 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.266, allocations: 0 / 438.7 MB, free: 72 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006892/0.2667, allocations: 297.8 kB / 439 MB, free: 15.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/0.2668, allocations: 37.75 kB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.2668, allocations: 8 kB / 439 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003013/0.2671, allocations: 68.83 kB / 439.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.2672, allocations: 15.98 kB / 439.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.2694, allocations: 1.487 MB / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.2698, allocations: 48.02 kB / 440.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.2698, allocations: 4 kB / 440.7 MB, free: 13.97 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.0001568/0.27, allocations: 125.8 kB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.27, allocations: 15.91 kB / 440.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/0.2705, allocations: 163.5 kB / 441 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2705, allocations: 0 / 441 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2705, allocations: 4.125 kB / 441 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2705, allocations: 0 / 441 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.2707, allocations: 153.2 kB / 441.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2707, allocations: 4 kB / 441.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.299e-05/0.2708, allocations: 11.98 kB / 441.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002075/0.271, allocations: 72.77 kB / 441.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.271, allocations: 3.984 kB / 441.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.2727, allocations: 1.487 MB / 442.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2727, allocations: 0 / 442.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004308/0.2731, allocations: 244.4 kB / 442.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.2731, allocations: 19.88 kB / 443 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.2732, allocations: 4 kB / 443 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.2733, allocations: 20.05 kB / 443 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.2734, allocations: 11.98 kB / 443 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.2734, allocations: 0 / 443 MB, free: 11.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.392e-05/0.2735, allocations: 109.1 kB / 443.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2735, allocations: 0 / 443.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003608/0.2739, allocations: 55.89 kB / 443.2 MB, free: 11.32 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.0001612/0.274, allocations: 95.25 kB / 443.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007568/0.2748, allocations: 335.7 kB / 443.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2748, allocations: 0 / 443.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.2751, allocations: 170.6 kB / 443.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.2754, allocations: 39.03 kB / 443.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007717/0.2762, allocations: 300.6 kB / 444.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.2763, allocations: 97.55 kB / 444.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.2764, allocations: 11.44 kB / 444.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2764, allocations: 0 / 444.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Templates: time 0.00506/0.2814, allocations: 2.5 MB / 446.7 MB, free: 7.711 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.235301870998228]