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.0008022/0.0008022, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.00186, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008031/0.0008031, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001447/0.00225, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.033/1.033, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08657/1.12, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.653e-06/1.653e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.196e-05, allocations: 6.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003078/0.0031, allocations: 2.135 MB / 246.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000778/0.003878, allocations: 0.5685 MB / 247.2 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.525e-05/0.003953, allocations: 4 kB / 247.3 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.117e-05/0.004014, allocations: 19.8 kB / 247.3 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.004091, allocations: 43.58 kB / 247.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.004278, allocations: 63.84 kB / 247.4 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.004495, allocations: 219.2 kB / 247.6 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.655e-05/0.004591, allocations: 29.95 kB / 247.6 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.004735, allocations: 131.8 kB / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.004887, allocations: 75.77 kB / 247.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.004916, allocations: 16 kB / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.777e-05/0.004974, allocations: 24 kB / 247.9 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.912e-05/0.005003, allocations: 23.94 kB / 247.9 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.045e-05/0.005054, allocations: 47.94 kB / 247.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.005246, allocations: 127.6 kB / 248.1 MB, free: 10.77 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.489e-05/0.005261, allocations: 0 / 248.1 MB, free: 10.77 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.005261, allocations: 0 / 248.1 MB, free: 10.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.005276, allocations: 0 / 248.1 MB, free: 10.77 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.0005264/0.005803, allocations: 409.7 kB / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.005833, allocations: 16.03 kB / 248.5 MB, free: 10.33 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.005973, allocations: 106 kB / 248.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.006149, allocations: 156.2 kB / 248.7 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.48e-05/0.006224, allocations: 141.1 kB / 248.9 MB, free: 9.863 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.006242, allocations: 16.38 kB / 248.9 MB, free: 9.848 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.006408, allocations: 184 kB / 249.1 MB, free: 9.641 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.006416, allocations: 192 / 249.1 MB, free: 9.641 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.006427, allocations: 4.125 kB / 249.1 MB, free: 9.637 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.006432, allocations: 4 kB / 249.1 MB, free: 9.633 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.426e-05/0.006506, allocations: 39.92 kB / 249.1 MB, free: 9.594 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.006934, allocations: 315 kB / 249.4 MB, free: 9.266 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.00709, allocations: 74.52 kB / 249.5 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.337e-05/0.007114, allocations: 16.86 kB / 249.5 MB, free: 9.164 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.007136, allocations: 8 kB / 249.5 MB, free: 9.156 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.007158, allocations: 38.48 kB / 249.5 MB, free: 9.109 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.007159, allocations: 0 / 249.5 MB, free: 9.109 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003153/0.007474, allocations: 134.5 kB / 249.7 MB, free: 8.969 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.007498, allocations: 55.34 kB / 249.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.035e-05/0.007579, allocations: 146.5 kB / 249.9 MB, free: 8.746 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.007595, allocations: 33.7 kB / 249.9 MB, free: 8.707 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.007641, allocations: 108 kB / 250 MB, free: 8.598 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.007658, allocations: 35.67 kB / 250.1 MB, free: 8.562 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.007703, allocations: 33.69 kB / 250.1 MB, free: 8.523 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.492e-05/0.007778, allocations: 318.8 kB / 250.4 MB, free: 8.203 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.957e-05/0.007827, allocations: 53.69 kB / 250.4 MB, free: 8.145 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.321e-05/0.007881, allocations: 76.23 kB / 250.5 MB, free: 8.055 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.236e-05/0.007963, allocations: 88.17 kB / 250.6 MB, free: 7.953 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.007965, allocations: 0 / 250.6 MB, free: 7.953 MB / 250.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001581/0.008123, allocations: 181.8 kB / 250.8 MB, free: 7.754 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.00816, allocations: 37.28 kB / 250.8 MB, free: 7.715 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.008166, allocations: 4 kB / 250.8 MB, free: 7.711 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001491/0.008315, allocations: 56.89 kB / 250.9 MB, free: 7.652 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.045e-05/0.008366, allocations: 15.98 kB / 250.9 MB, free: 7.637 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009088/0.009274, allocations: 1.284 MB / 252.2 MB, free: 6.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.009387, allocations: 39.91 kB / 252.2 MB, free: 6.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.009398, allocations: 8.172 kB / 252.2 MB, free: 6.223 MB / 250.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.331e-05/0.009461, allocations: 117.8 kB / 252.3 MB, free: 6.098 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.009482, allocations: 11.94 kB / 252.4 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.009605, allocations: 95.22 kB / 252.4 MB, free: 5.977 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.009608, allocations: 4 kB / 252.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.009609, allocations: 11.94 kB / 252.5 MB, free: 5.961 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.009612, allocations: 0 / 252.5 MB, free: 5.961 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.009719, allocations: 97.84 kB / 252.6 MB, free: 5.848 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.009721, allocations: 0 / 252.6 MB, free: 5.848 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.009752, allocations: 8 kB / 252.6 MB, free: 5.84 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.009762, allocations: 11.91 kB / 252.6 MB, free: 5.828 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.193e-05/0.009854, allocations: 64.8 kB / 252.6 MB, free: 5.762 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.009861, allocations: 3.938 kB / 252.6 MB, free: 5.758 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000643/0.0105, allocations: 1.265 MB / 253.9 MB, free: 4.406 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01051, allocations: 0 / 253.9 MB, free: 4.406 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.01062, allocations: 184.2 kB / 254.1 MB, free: 4.207 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.01063, allocations: 4 kB / 254.1 MB, free: 4.203 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.659e-05/0.01069, allocations: 12.02 kB / 254.1 MB, free: 4.191 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.01073, allocations: 11.98 kB / 254.1 MB, free: 4.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.01074, allocations: 4 kB / 254.1 MB, free: 4.176 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.607e-05/0.01076, allocations: 35.81 kB / 254.2 MB, free: 4.141 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01076, allocations: 4 kB / 254.2 MB, free: 4.137 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.01093, allocations: 51.89 kB / 254.2 MB, free: 4.086 MB / 250.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.729e-05/0.01102, allocations: 80.42 kB / 254.3 MB, free: 3.996 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002946/0.01132, allocations: 276.2 kB / 254.6 MB, free: 3.695 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.01132, allocations: 4.125 kB / 254.6 MB, free: 3.691 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.01145, allocations: 159.4 kB / 254.7 MB, free: 3.52 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.01162, allocations: 35.92 kB / 254.8 MB, free: 3.484 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.01274, allocations: 269.1 kB / 255 MB, free: 3.195 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.399e-05/0.01278, allocations: 71.7 kB / 255.1 MB, free: 3.105 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.356e-05/0.01283, allocations: 8.484 kB / 255.1 MB, free: 3.098 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.466e-05/0.01292, allocations: 83.34 kB / 255.2 MB, free: 3.016 MB / 250.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01292, allocations: 3.938 kB / 255.2 MB, free: 3.012 MB / 250.7 MB Notification: Performance of Templates: time 0.005113/0.01804, allocations: 3.402 MB / 258.6 MB, free: 15.66 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 -ignoreHideResult -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.6472925916314125]