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.001803/0.001803, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002265/0.002265, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.86/1.86, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.001666/0.001666, allocations: 51.91 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4571/0.4588, allocations: 53.37 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.004962/0.4637, allocations: 2.008 MB / 434.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.4653, allocations: 0.5338 MB / 434.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.4655, allocations: 4 kB / 434.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.4657, allocations: 19.8 kB / 434.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.4658, allocations: 43.58 kB / 434.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.4662, allocations: 71.84 kB / 435 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003936/0.4665, allocations: 211.4 kB / 435.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.4667, allocations: 33.25 kB / 435.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.4669, allocations: 79.77 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.4672, allocations: 99.64 kB / 435.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.4672, allocations: 16 kB / 435.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.076e-05/0.4673, allocations: 24 kB / 435.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.81e-05/0.4674, allocations: 31.91 kB / 435.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.4675, allocations: 67.72 kB / 435.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.4678, allocations: 194.9 kB / 435.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.4679, allocations: 0 / 435.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.4679, allocations: 0 / 435.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.4679, allocations: 0 / 435.8 MB, free: 3.312 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.001042/0.4689, allocations: 419.4 kB / 436.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.469, allocations: 12.03 kB / 436.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.4692, allocations: 20.84 kB / 436.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.4696, allocations: 153 kB / 436.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.4698, allocations: 145.1 kB / 436.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.4698, allocations: 16.31 kB / 436.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.4703, allocations: 202.9 kB / 436.7 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4703, allocations: 0 / 436.7 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.4704, allocations: 4 kB / 436.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.4704, allocations: 4 kB / 436.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.4707, allocations: 117.4 kB / 436.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00095/0.4717, allocations: 415.1 kB / 437.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.4721, allocations: 110.7 kB / 437.3 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.4722, allocations: 48.83 kB / 437.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.4723, allocations: 0 / 437.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.08e-05/0.4723, allocations: 34.56 kB / 437.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.4723, allocations: 3.938 kB / 437.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009192/0.4732, allocations: 226.3 kB / 437.6 MB, free: 1.246 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.4733, allocations: 51.41 kB / 437.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.4735, allocations: 152 kB / 437.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.4735, allocations: 29.7 kB / 437.9 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.4736, allocations: 112 kB / 438 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.4736, allocations: 35.72 kB / 438 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/0.4737, allocations: 33.72 kB / 438 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.4739, allocations: 318.8 kB / 438.4 MB, free: 496 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.4742, allocations: 101.5 kB / 438.5 MB, free: 388 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.4744, allocations: 108.2 kB / 438.6 MB, free: 264 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.4747, allocations: 148.2 kB / 438.7 MB, free: 100 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4747, allocations: 0 / 438.7 MB, free: 100 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007511/0.4755, allocations: 289.6 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.534e-05/0.4756, allocations: 37.69 kB / 439 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.4756, allocations: 4.062 kB / 439 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003205/0.4759, allocations: 80.8 kB / 439.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.281e-05/0.476, allocations: 8 kB / 439.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.4781, allocations: 1.487 MB / 440.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.4785, allocations: 47.98 kB / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.4785, allocations: 8.062 kB / 440.7 MB, free: 14.01 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.0001792/0.4787, allocations: 129.8 kB / 440.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.4787, allocations: 11.91 kB / 440.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.4792, allocations: 163.6 kB / 441 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4792, allocations: 4 kB / 441 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4792, allocations: 7.969 kB / 441 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4792, allocations: 3.938 kB / 441 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.4794, allocations: 145.2 kB / 441.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4794, allocations: 4 kB / 441.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.544e-05/0.4795, allocations: 11.98 kB / 441.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001905/0.4797, allocations: 76.81 kB / 441.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.4797, allocations: 128 / 441.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.4815, allocations: 1.475 MB / 442.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4815, allocations: 0 / 442.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004743/0.482, allocations: 252.3 kB / 442.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.482, allocations: 19.86 kB / 442.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.482, allocations: 0 / 442.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.4822, allocations: 11.98 kB / 443 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/0.4822, allocations: 16.05 kB / 443 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.4823, allocations: 4 kB / 443 MB, free: 11.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.4e-05/0.4824, allocations: 110.2 kB / 443.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4824, allocations: 0 / 443.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003653/0.4827, allocations: 51.89 kB / 443.1 MB, free: 11.36 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.0001759/0.4829, allocations: 99.25 kB / 443.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008064/0.4837, allocations: 343.7 kB / 443.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4837, allocations: 0 / 443.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000313/0.484, allocations: 162.6 kB / 443.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.4844, allocations: 40.56 kB / 443.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008097/0.4852, allocations: 282.8 kB / 444 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.4853, allocations: 97.61 kB / 444.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.335e-05/0.4854, allocations: 4.5 kB / 444.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.4854, allocations: 15.44 kB / 444.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of SimCode: time 6.12e-07/0.4854, allocations: 0 / 444.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Templates: time 0.008806/0.4942, allocations: 3.185 MB / 447.3 MB, free: 7.105 MB / 350.1 MB " [Timeout remaining time 659] 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 -s cvode -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: 5.766445948989713]