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.001095/0.001095, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001643/0.002738, allocations: 449.8 kB / 10.44 MB, free: 252 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.001098/0.001098, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.002634, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.014/1.014, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08376/1.098, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.884e-06/1.884e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.244e-05, allocations: 2.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003146/0.003168, allocations: 2.151 MB / 246.9 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00078/0.003948, allocations: 0.5647 MB / 247.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.004018, allocations: 7.938 kB / 247.4 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.964e-05/0.004078, allocations: 11.86 kB / 247.5 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.111e-05/0.004149, allocations: 47.58 kB / 247.5 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.00431, allocations: 71.77 kB / 247.6 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.004507, allocations: 215.3 kB / 247.8 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.239e-05/0.004599, allocations: 25.95 kB / 247.8 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.004745, allocations: 131.8 kB / 247.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.004894, allocations: 71.83 kB / 248 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.004922, allocations: 16 kB / 248 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.944e-05/0.004982, allocations: 23.98 kB / 248 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.005012, allocations: 35.88 kB / 248.1 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.374e-05/0.005056, allocations: 43.94 kB / 248.1 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.005231, allocations: 127.5 kB / 248.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.005242, allocations: 0 / 248.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.005243, allocations: 0 / 248.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.005253, allocations: 0 / 248.2 MB, free: 10.66 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.0005082/0.005761, allocations: 413.7 kB / 248.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.005791, allocations: 12.03 kB / 248.7 MB, free: 10.22 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.005931, allocations: 106 kB / 248.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.006095, allocations: 156.3 kB / 248.9 MB, free: 9.922 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-05/0.006166, allocations: 141.1 kB / 249.1 MB, free: 9.754 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.006188, allocations: 20.31 kB / 249.1 MB, free: 9.734 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.00635, allocations: 186.4 kB / 249.3 MB, free: 9.527 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.006357, allocations: 192 / 249.3 MB, free: 9.527 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.006367, allocations: 4.125 kB / 249.3 MB, free: 9.523 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.006373, allocations: 4 kB / 249.3 MB, free: 9.52 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.346e-05/0.006436, allocations: 35.98 kB / 249.3 MB, free: 9.484 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.006836, allocations: 315 kB / 249.6 MB, free: 9.152 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.006975, allocations: 78.47 kB / 249.7 MB, free: 9.066 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.006999, allocations: 12.86 kB / 249.7 MB, free: 9.051 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.007017, allocations: 7.984 kB / 249.7 MB, free: 9.043 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.007037, allocations: 38.56 kB / 249.7 MB, free: 8.996 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.007038, allocations: 0 / 249.7 MB, free: 8.996 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002919/0.00733, allocations: 134.4 kB / 249.9 MB, free: 8.855 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.007353, allocations: 55.39 kB / 249.9 MB, free: 8.789 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.379e-05/0.007426, allocations: 146.5 kB / 250.1 MB, free: 8.633 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.007444, allocations: 33.7 kB / 250.1 MB, free: 8.594 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.007487, allocations: 108 kB / 250.2 MB, free: 8.484 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.007506, allocations: 35.72 kB / 250.2 MB, free: 8.449 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.007548, allocations: 29.7 kB / 250.3 MB, free: 8.414 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.007626, allocations: 322.8 kB / 250.6 MB, free: 8.09 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.852e-05/0.007675, allocations: 45.69 kB / 250.6 MB, free: 8.039 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.179e-05/0.007727, allocations: 80.19 kB / 250.7 MB, free: 7.945 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.447e-05/0.007801, allocations: 92.17 kB / 250.8 MB, free: 7.84 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.007804, allocations: 4 kB / 250.8 MB, free: 7.836 MB / 250.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001472/0.007951, allocations: 181.9 kB / 251 MB, free: 7.637 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.00798, allocations: 37.69 kB / 251 MB, free: 7.594 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.007984, allocations: 0 / 251 MB, free: 7.594 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001285/0.008112, allocations: 60.83 kB / 251.1 MB, free: 7.531 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.576e-05/0.008158, allocations: 15.98 kB / 251.1 MB, free: 7.516 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008111/0.008969, allocations: 1.28 MB / 252.4 MB, free: 6.152 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.009079, allocations: 35.91 kB / 252.4 MB, free: 6.117 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.009091, allocations: 11.98 kB / 252.4 MB, free: 6.105 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.271e-05/0.009154, allocations: 121.8 kB / 252.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.009174, allocations: 7.938 kB / 252.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.009291, allocations: 103.2 kB / 252.6 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.009292, allocations: 0 / 252.6 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.009293, allocations: 0 / 252.6 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.009296, allocations: 0 / 252.6 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.962e-05/0.009396, allocations: 101.8 kB / 252.7 MB, free: 5.734 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.009397, allocations: 0 / 252.7 MB, free: 5.734 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.009427, allocations: 8 kB / 252.8 MB, free: 5.727 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.009437, allocations: 11.91 kB / 252.8 MB, free: 5.715 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.009539, allocations: 56.81 kB / 252.8 MB, free: 5.656 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.009547, allocations: 7.875 kB / 252.8 MB, free: 5.648 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006308/0.01018, allocations: 1.269 MB / 254.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.01018, allocations: 0 / 254.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.0103, allocations: 192.8 kB / 254.3 MB, free: 4.09 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.775e-06/0.0103, allocations: 0 / 254.3 MB, free: 4.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.733e-05/0.01036, allocations: 11.98 kB / 254.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.0104, allocations: 11.98 kB / 254.3 MB, free: 4.066 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.0104, allocations: 4.031 kB / 254.3 MB, free: 4.062 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.773e-05/0.01043, allocations: 43.75 kB / 254.4 MB, free: 4.02 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01043, allocations: 0 / 254.4 MB, free: 4.02 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001726/0.0106, allocations: 51.89 kB / 254.4 MB, free: 3.969 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.045e-05/0.01068, allocations: 80.42 kB / 254.5 MB, free: 3.879 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002579/0.01094, allocations: 271.7 kB / 254.8 MB, free: 3.582 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.01095, allocations: 8 kB / 254.8 MB, free: 3.574 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.01105, allocations: 163.4 kB / 254.9 MB, free: 3.398 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.01128, allocations: 249.5 kB / 255.2 MB, free: 3.105 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.01237, allocations: 268.9 kB / 255.4 MB, free: 2.82 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.574e-05/0.01241, allocations: 79.62 kB / 255.5 MB, free: 2.723 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.335e-05/0.01245, allocations: 4.5 kB / 255.5 MB, free: 2.719 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.838e-05/0.01255, allocations: 79.36 kB / 255.6 MB, free: 2.641 MB / 250.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01255, allocations: 0 / 255.6 MB, free: 2.641 MB / 250.7 MB Notification: Performance of Templates: time 0.004694/0.01725, allocations: 3.484 MB / 259.1 MB, free: 15.21 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6757730999961495]