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.0009268/0.0009268, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001604/0.001604, allocations: 172.4 kB / 24.91 MB, free: 8.262 MB / 18.57 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 0.9246/0.9246, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 1.392e-06/1.392e-06, allocations: 3.938 kB / 273.5 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.421e-05, allocations: 5.125 kB / 273.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002242/0.002266, allocations: 2.088 MB / 275.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008013/0.003067, allocations: 0.5648 MB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-05/0.003146, allocations: 7.938 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.787e-05/0.003244, allocations: 19.84 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.694e-05/0.003321, allocations: 43.58 kB / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.003555, allocations: 71.83 kB / 276.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.003756, allocations: 215.3 kB / 276.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.297e-05/0.003849, allocations: 29.89 kB / 276.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.003974, allocations: 123.8 kB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.004116, allocations: 71.83 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.004143, allocations: 20 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.004445, allocations: 24 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.12e-05/0.004476, allocations: 27.86 kB / 276.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.031e-05/0.004527, allocations: 63.88 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.004712, allocations: 143.6 kB / 277 MB, free: 13.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004714, allocations: 0 / 277 MB, free: 13.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004715, allocations: 0 / 277 MB, free: 13.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.004718, allocations: 0 / 277 MB, free: 13.77 MB / 266.7 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.0004211/0.005139, allocations: 386 kB / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.005168, allocations: 19.97 kB / 277.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.005271, allocations: 28.91 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.005427, allocations: 137.6 kB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.005501, allocations: 145.1 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.00552, allocations: 16.38 kB / 277.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.005678, allocations: 182.4 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.005684, allocations: 192 / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.005698, allocations: 16.12 kB / 277.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.005702, allocations: 0 / 277.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.837e-05/0.00577, allocations: 35.84 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.006178, allocations: 323.1 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.006315, allocations: 70.55 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.00634, allocations: 24.78 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.006355, allocations: 0 / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.006375, allocations: 34.56 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.006376, allocations: 0 / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003121/0.006688, allocations: 134.4 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.006709, allocations: 51.41 kB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.812e-05/0.006787, allocations: 157.9 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.006803, allocations: 25.7 kB / 278.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.006849, allocations: 115.9 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.006866, allocations: 27.73 kB / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.006911, allocations: 37.69 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.241e-05/0.006983, allocations: 322.8 kB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.664e-05/0.00703, allocations: 45.69 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.245e-05/0.007082, allocations: 76.02 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.575e-05/0.007158, allocations: 96.16 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.00716, allocations: 0 / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001514/0.007311, allocations: 173.8 kB / 279.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.007342, allocations: 37.69 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.007347, allocations: 0 / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001334/0.007481, allocations: 60.88 kB / 279.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.007526, allocations: 19.92 kB / 279.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007767/0.008303, allocations: 1.272 MB / 281 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.00842, allocations: 35.91 kB / 281 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.008435, allocations: 7.984 kB / 281 MB, free: 9.359 MB / 266.7 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 6.741e-05/0.008503, allocations: 117.8 kB / 281.1 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.008524, allocations: 11.94 kB / 281.1 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.008642, allocations: 99.22 kB / 281.2 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.008644, allocations: 4 kB / 281.2 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.008645, allocations: 0 / 281.2 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.008647, allocations: 4 kB / 281.2 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.008753, allocations: 93.86 kB / 281.3 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.008757, allocations: 3.984 kB / 281.3 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.008784, allocations: 12 kB / 281.3 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.099e-05/0.008875, allocations: 52.81 kB / 281.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.008883, allocations: 8 kB / 281.4 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000646/0.009529, allocations: 1.284 MB / 282.7 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.00953, allocations: 0 / 282.7 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.009642, allocations: 184.9 kB / 282.9 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.009654, allocations: 15.84 kB / 282.9 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-06/0.009662, allocations: 0 / 282.9 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.815e-05/0.00972, allocations: 16.02 kB / 282.9 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.009758, allocations: 19.92 kB / 282.9 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.009764, allocations: 4 kB / 282.9 MB, free: 7.289 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.218e-05/0.009787, allocations: 24.83 kB / 282.9 MB, free: 7.262 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009787, allocations: 0 / 282.9 MB, free: 7.262 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001701/0.009957, allocations: 48 kB / 283 MB, free: 7.215 MB / 266.7 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 8.506e-05/0.01004, allocations: 88.34 kB / 283.1 MB, free: 7.117 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002521/0.01029, allocations: 267.6 kB / 283.3 MB, free: 6.824 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.0103, allocations: 4.125 kB / 283.3 MB, free: 6.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.517e-05/0.01039, allocations: 155.4 kB / 283.5 MB, free: 6.652 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.01055, allocations: 23.92 kB / 283.5 MB, free: 6.629 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007191/0.01127, allocations: 264.9 kB / 283.8 MB, free: 6.344 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.68e-05/0.0113, allocations: 71.83 kB / 283.9 MB, free: 6.254 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.909e-05/0.01133, allocations: 0.5 kB / 283.9 MB, free: 6.254 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.99e-05/0.01142, allocations: 87.28 kB / 283.9 MB, free: 6.168 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01142, allocations: 0 / 283.9 MB, free: 6.168 MB / 266.7 MB Notification: Performance of Templates: time 0.004409/0.01583, allocations: 3.244 MB / 287.2 MB, free: 2.98 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupply/DemoPowerSupply.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.655284609179944]