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.001032/0.001032, allocations: 80.8 kB / 21.49 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.001031/0.001031, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.9933/0.9933, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.343e-06/1.343e-06, allocations: 0 / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.434e-05, allocations: 2.312 kB / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002738/0.002752, allocations: 2.126 MB / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008452/0.003597, allocations: 0.5803 MB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.304e-05/0.00368, allocations: 4 kB / 276.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.003782, allocations: 23.72 kB / 276.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.686e-05/0.003869, allocations: 39.64 kB / 276.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.004085, allocations: 71.89 kB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.004312, allocations: 215.2 kB / 276.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.004412, allocations: 37.86 kB / 276.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.004559, allocations: 119.8 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.00472, allocations: 67.84 kB / 276.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.004749, allocations: 19.94 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.661e-05/0.004805, allocations: 24 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.004835, allocations: 31.89 kB / 276.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.667e-05/0.004892, allocations: 59.89 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.00508, allocations: 143.5 kB / 277 MB, free: 13.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.005082, allocations: 4 kB / 277.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005082, allocations: 0 / 277.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.005086, allocations: 0 / 277.1 MB, free: 13.67 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.0007352/0.005821, allocations: 390.1 kB / 277.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.005851, allocations: 8.031 kB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.005968, allocations: 28.91 kB / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.006145, allocations: 145.5 kB / 277.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.767e-05/0.006223, allocations: 145.1 kB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.006246, allocations: 16.38 kB / 277.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.006422, allocations: 178.4 kB / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.006431, allocations: 192 / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.006444, allocations: 12.12 kB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.00645, allocations: 0 / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.625e-05/0.006537, allocations: 47.77 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.006994, allocations: 315.1 kB / 278.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.007147, allocations: 70.55 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/0.007176, allocations: 16.86 kB / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.00719, allocations: 0 / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.007215, allocations: 42.5 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 9.61e-07/0.007216, allocations: 0 / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003467/0.007562, allocations: 122.5 kB / 278.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.007587, allocations: 63.34 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.59e-05/0.007673, allocations: 157.9 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.007688, allocations: 25.7 kB / 278.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.007736, allocations: 112 kB / 278.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.007754, allocations: 27.75 kB / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/0.007811, allocations: 33.69 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.979e-05/0.007891, allocations: 330.7 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.222e-05/0.007943, allocations: 45.69 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.008005, allocations: 68.27 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.326e-05/0.008098, allocations: 96.2 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.008101, allocations: 8 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000181/0.008282, allocations: 169.8 kB / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.008308, allocations: 33.7 kB / 279.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.008313, allocations: 0 / 279.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001509/0.008464, allocations: 60.86 kB / 279.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.702e-05/0.008511, allocations: 16 kB / 279.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008941/0.009405, allocations: 1.284 MB / 281.1 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.00954, allocations: 31.86 kB / 281.1 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.009552, allocations: 8.031 kB / 281.1 MB, free: 9.266 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 7.044e-05/0.009623, allocations: 121.8 kB / 281.2 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.009652, allocations: 15.92 kB / 281.2 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.009789, allocations: 95.23 kB / 281.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.009791, allocations: 0 / 281.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.62e-07/0.009791, allocations: 0 / 281.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.009794, allocations: 0 / 281.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.009923, allocations: 97.84 kB / 281.4 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.009925, allocations: 3.938 kB / 281.4 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.00996, allocations: 8 kB / 281.4 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001064/0.01007, allocations: 60.8 kB / 281.5 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.01007, allocations: 4 kB / 281.5 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007551/0.01083, allocations: 1.288 MB / 282.8 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01083, allocations: 0 / 282.8 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.01096, allocations: 184.9 kB / 283 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.01097, allocations: 15.84 kB / 283 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.01099, allocations: 4 kB / 283 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.374e-05/0.01107, allocations: 11.98 kB / 283 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.01111, allocations: 11.98 kB / 283 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.01112, allocations: 0 / 283 MB, free: 7.203 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.7e-05/0.01115, allocations: 28.83 kB / 283 MB, free: 7.172 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01115, allocations: 4.031 kB / 283 MB, free: 7.168 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002399/0.01139, allocations: 44 kB / 283.1 MB, free: 7.125 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 7.71e-05/0.01146, allocations: 80.42 kB / 283.2 MB, free: 7.035 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.01175, allocations: 275.6 kB / 283.4 MB, free: 6.734 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.01175, allocations: 0 / 283.4 MB, free: 6.734 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.01187, allocations: 155.3 kB / 283.6 MB, free: 6.566 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.01206, allocations: 40.03 kB / 283.6 MB, free: 6.527 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.01257, allocations: 260.8 kB / 283.9 MB, free: 6.246 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.085e-05/0.01262, allocations: 67.84 kB / 283.9 MB, free: 6.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.71e-05/0.01265, allocations: 8.5 kB / 284 MB, free: 6.152 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.01276, allocations: 83.28 kB / 284 MB, free: 6.07 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01276, allocations: 0 / 284 MB, free: 6.07 MB / 266.7 MB Notification: Performance of Templates: time 0.005506/0.01827, allocations: 3.24 MB / 287.3 MB, free: 2.887 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 -s gbode -gbm=radauIIA3 -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.764001323841512]