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.001342/0.001342, allocations: 85.91 kB / 22.22 MB, free: 2.281 MB / 18.57 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.001523/0.001523, allocations: 158.4 kB / 25.61 MB, free: 8.914 MB / 18.57 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 0.9347/0.9347, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] 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 1.453e-06/1.453e-06, allocations: 0 / 274.1 MB, free: 4.367 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.718e-05, allocations: 6.25 kB / 274.1 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002222/0.002239, allocations: 2.084 MB / 276.2 MB, free: 2.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007263/0.002965, allocations: 0.5482 MB / 276.8 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.406e-05/0.003049, allocations: 4.5 kB / 276.8 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.00315, allocations: 20.47 kB / 276.8 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.246e-05/0.003222, allocations: 45.36 kB / 276.8 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.003423, allocations: 75.77 kB / 276.9 MB, free: 1.578 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.003626, allocations: 211.3 kB / 277.1 MB, free: 1.371 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.526e-05/0.003721, allocations: 33.28 kB / 277.1 MB, free: 1.336 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.003849, allocations: 123.8 kB / 277.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.003985, allocations: 67.84 kB / 277.3 MB, free: 1.148 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.004012, allocations: 16 kB / 277.4 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.171e-05/0.004053, allocations: 24 kB / 277.4 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.006e-05/0.004083, allocations: 35.83 kB / 277.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.004131, allocations: 59.89 kB / 277.5 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.0043, allocations: 139.6 kB / 277.6 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.004301, allocations: 0 / 277.6 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004302, allocations: 0 / 277.6 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.788e-06/0.004306, allocations: 0 / 277.6 MB, free: 0.8789 MB / 250.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.0004464/0.004752, allocations: 0.5094 MB / 278.1 MB, free: 336 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.004781, allocations: 12.03 kB / 278.1 MB, free: 324 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.764e-05/0.004878, allocations: 32.78 kB / 278.2 MB, free: 292 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.005036, allocations: 164.3 kB / 278.3 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.819e-05/0.005114, allocations: 141.1 kB / 278.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.005132, allocations: 12.38 kB / 278.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.005284, allocations: 180 kB / 278.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.00529, allocations: 4.188 kB / 278.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.005301, allocations: 8.125 kB / 278.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.005307, allocations: 4 kB / 278.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.036e-05/0.005377, allocations: 41.12 kB / 278.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.00582, allocations: 451 kB / 279.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.00596, allocations: 83.2 kB / 279.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.821e-05/0.005988, allocations: 31.62 kB / 279.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.006003, allocations: 4 kB / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.006021, allocations: 33.39 kB / 279.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.006022, allocations: 0 / 279.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003217/0.006344, allocations: 149.2 kB / 279.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/0.006364, allocations: 55.41 kB / 279.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.51e-05/0.00645, allocations: 205.1 kB / 279.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.006466, allocations: 29.7 kB / 279.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.006524, allocations: 162.7 kB / 279.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.006541, allocations: 35.73 kB / 279.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.00659, allocations: 39.34 kB / 279.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.006703, allocations: 0.4923 MB / 280.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.874e-05/0.006752, allocations: 45.69 kB / 280.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.929e-05/0.006811, allocations: 84.72 kB / 280.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.09e-05/0.006892, allocations: 95.53 kB / 280.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006893, allocations: 3.938 kB / 280.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002051/0.007099, allocations: 208.6 kB / 280.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.007125, allocations: 37.7 kB / 280.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.00713, allocations: 4 kB / 280.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.007277, allocations: 63.62 kB / 281 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.299e-05/0.00732, allocations: 15.92 kB / 281 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009679/0.008288, allocations: 1.843 MB / 282.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.008404, allocations: 31.91 kB / 282.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.008416, allocations: 8 kB / 282.9 MB, free: 11.18 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.123e-05/0.008487, allocations: 156.6 kB / 283 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.008514, allocations: 27.84 kB / 283.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.008644, allocations: 110 kB / 283.2 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.008645, allocations: 3.984 kB / 283.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.21e-07/0.008646, allocations: 0 / 283.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.008649, allocations: 0 / 283.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.008758, allocations: 133.2 kB / 283.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008759, allocations: 0 / 283.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.029e-05/0.008789, allocations: 11.98 kB / 283.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.048e-05/0.00888, allocations: 63.59 kB / 283.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.008886, allocations: 3.938 kB / 283.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008294/0.009715, allocations: 1.835 MB / 285.2 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.009716, allocations: 0 / 285.2 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.009863, allocations: 263.5 kB / 285.5 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-06/0.009872, allocations: 15.83 kB / 285.5 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.256e-06/0.00988, allocations: 0 / 285.5 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.418e-05/0.009944, allocations: 11.98 kB / 285.5 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.009982, allocations: 15.97 kB / 285.5 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.009988, allocations: 0 / 285.5 MB, free: 8.348 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.723e-05/0.01003, allocations: 151.1 kB / 285.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01003, allocations: 0 / 285.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001849/0.01022, allocations: 47.95 kB / 285.7 MB, free: 8.152 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.828e-05/0.0103, allocations: 102.9 kB / 285.8 MB, free: 8.043 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.01059, allocations: 325.6 kB / 286.1 MB, free: 7.688 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01059, allocations: 0 / 286.1 MB, free: 7.688 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.01071, allocations: 221.3 kB / 286.3 MB, free: 7.449 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.01091, allocations: 35.06 kB / 286.4 MB, free: 7.418 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004498/0.01136, allocations: 265 kB / 286.6 MB, free: 7.133 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.608e-05/0.01139, allocations: 71.84 kB / 286.7 MB, free: 7.043 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.216e-05/0.01143, allocations: 4.5 kB / 286.7 MB, free: 7.035 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.01153, allocations: 118 kB / 286.8 MB, free: 6.918 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01153, allocations: 4 kB / 286.8 MB, free: 6.914 MB / 266.7 MB Notification: Performance of Templates: time 0.004475/0.016, allocations: 3.365 MB / 290.2 MB, free: 3.609 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.822690405882895]