Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.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.002674/0.002674, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.003107/0.003107, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 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 1.542/1.542, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3923/0.3923, allocations: 34.26 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 377.2 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.83e-05, allocations: 6.25 kB / 377.2 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001522/0.001551, allocations: 495.4 kB / 377.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003739/0.00529, allocations: 2.105 MB / 379.8 MB, free: 360 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.569e-05/0.005306, allocations: 0 / 379.8 MB, free: 360 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.103e-05/0.005317, allocations: 0 / 379.8 MB, free: 360 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.499e-05/0.005342, allocations: 4 kB / 379.8 MB, free: 356 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.006645, allocations: 406.4 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 3.951e-05/0.006684, allocations: 4 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.325e-05/0.006717, allocations: 0 / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.4e-05/0.006751, allocations: 7.984 kB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03049/0.03724, allocations: 4.796 MB / 385 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.03727, allocations: 0 / 385 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.03738, allocations: 15.97 kB / 385 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.03739, allocations: 0 / 385 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.03741, allocations: 4 kB / 385 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.03758, allocations: 7.938 kB / 385 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.03759, allocations: 0 / 385 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.03759, allocations: 0 / 385 MB, free: 12.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.0376, allocations: 0 / 385 MB, free: 12.19 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004341/0.03803, allocations: 356.3 kB / 385.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.03807, allocations: 8.031 kB / 385.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.03834, allocations: 128.1 kB / 385.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.03853, allocations: 227.8 kB / 385.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.03867, allocations: 238.8 kB / 385.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.0388, allocations: 238.8 kB / 386.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.03892, allocations: 153.5 kB / 386.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.744e-05/0.03899, allocations: 119.4 kB / 386.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.03912, allocations: 238.8 kB / 386.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/0.03925, allocations: 246.2 kB / 386.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.03938, allocations: 242.4 kB / 387.1 MB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.03981, allocations: 0.5642 MB / 387.7 MB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.04001, allocations: 269.4 kB / 388 MB, free: 9.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.285e-05/0.04009, allocations: 130.9 kB / 388.1 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.606e-05/0.04015, allocations: 123.1 kB / 388.2 MB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.04026, allocations: 156.5 kB / 388.4 MB, free: 8.672 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.04026, allocations: 0 / 388.4 MB, free: 8.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.308e-05/0.04034, allocations: 29.7 kB / 388.4 MB, free: 8.637 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/0.0405, allocations: 225.9 kB / 388.6 MB, free: 8.391 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.04067, allocations: 157.9 kB / 388.8 MB, free: 8.219 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.04069, allocations: 29.83 kB / 388.8 MB, free: 8.184 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.021e-05/0.04078, allocations: 126.9 kB / 388.9 MB, free: 8.055 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.04078, allocations: 0 / 388.9 MB, free: 8.055 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.04082, allocations: 19.38 kB / 388.9 MB, free: 8.027 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000299/0.04112, allocations: 0.4884 MB / 389.4 MB, free: 7.527 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.631e-06/0.04112, allocations: 0 / 389.4 MB, free: 7.527 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.291e-05/0.0412, allocations: 74.72 kB / 389.5 MB, free: 7.434 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.84e-05/0.04126, allocations: 119.2 kB / 389.6 MB, free: 7.316 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.337e-05/0.04133, allocations: 119.2 kB / 389.7 MB, free: 7.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.962e-05/0.04139, allocations: 33.7 kB / 389.8 MB, free: 7.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.796e-05/0.04146, allocations: 123.2 kB / 389.9 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.661e-05/0.04153, allocations: 123.2 kB / 390 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002268/0.04176, allocations: 246.3 kB / 390.3 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.04183, allocations: 127.3 kB / 390.4 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001292/0.04196, allocations: 246.2 kB / 390.6 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.04208, allocations: 123.2 kB / 390.7 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-05/0.04214, allocations: 119.2 kB / 390.9 MB, free: 6.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002434/0.04238, allocations: 402.9 kB / 391.3 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.846e-05/0.04248, allocations: 144.9 kB / 391.4 MB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.694e-05/0.04258, allocations: 151.9 kB / 391.5 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001518/0.04273, allocations: 276 kB / 391.8 MB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002612/0.04299, allocations: 272 kB / 392.1 MB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001516/0.04314, allocations: 276 kB / 392.3 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.04348, allocations: 491.9 kB / 392.8 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.457e-05/0.04355, allocations: 144.9 kB / 393 MB, free: 3.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-05/0.04364, allocations: 152.8 kB / 393.1 MB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001423/0.04378, allocations: 264.1 kB / 393.4 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/0.04393, allocations: 276 kB / 393.6 MB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001385/0.04407, allocations: 268.1 kB / 393.9 MB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001405/0.04421, allocations: 268.1 kB / 394.2 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.04449, allocations: 451.8 kB / 394.6 MB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.836e-05/0.04459, allocations: 160.8 kB / 394.8 MB, free: 1.992 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.04474, allocations: 268.1 kB / 395 MB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.04487, allocations: 148.9 kB / 395.2 MB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.04503, allocations: 268.3 kB / 395.4 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.288e-05/0.04511, allocations: 152.8 kB / 395.6 MB, free: 1.145 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.715e-05/0.04519, allocations: 119.2 kB / 395.7 MB, free: 1.027 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04519, allocations: 0 / 395.7 MB, free: 1.027 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002374/0.04542, allocations: 0 / 395.7 MB, free: 1.027 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004831/0.04591, allocations: 214.4 kB / 395.9 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.229e-05/0.04598, allocations: 20.06 kB / 395.9 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.04598, allocations: 0 / 395.9 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.04598, allocations: 0 / 395.9 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/0.04658, allocations: 0.7023 MB / 396.6 MB, free: 84 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.04689, allocations: 199.1 kB / 396.8 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.93e-05/0.04696, allocations: 59.3 kB / 396.9 MB, free: 15.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.597e-05/0.04698, allocations: 4 kB / 396.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.047, allocations: 8.5 kB / 396.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.047, allocations: 0 / 396.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of Templates: time 0.002801/0.0498, allocations: 350.2 kB / 397.2 MB, free: 15.43 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.968147712061182]