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.0009297/0.0009297, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001051/0.001051, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9889/0.9889, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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.3118/0.3118, allocations: 34.86 MB / 296.3 MB, free: 500 kB / 266.7 MB " [Timeout remaining time 180] 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.472e-06/1.472e-06, allocations: 0 / 378.7 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.273e-05, allocations: 7.094 kB / 378.7 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.00143/0.001463, allocations: 491.6 kB / 379.2 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003045/0.004508, allocations: 2.147 MB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.132e-05/0.004529, allocations: 3.938 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.004553, allocations: 0 / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 2.214e-05/0.004576, allocations: 0 / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.0059, allocations: 410.4 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.964e-05/0.00595, allocations: 7.984 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.35e-05/0.005983, allocations: 0 / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.238e-05/0.006016, allocations: 4 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01347/0.01949, allocations: 4.772 MB / 386.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.01951, allocations: 0 / 386.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.01962, allocations: 8 kB / 386.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.01963, allocations: 3.984 kB / 386.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.01965, allocations: 4 kB / 386.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.01982, allocations: 7.984 kB / 386.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.01983, allocations: 0 / 386.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.01983, allocations: 0 / 386.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.01984, allocations: 0 / 386.6 MB, free: 11.32 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.0003144/0.02015, allocations: 348.3 kB / 386.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.0202, allocations: 16.02 kB / 386.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000219/0.02042, allocations: 124.1 kB / 387.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.02057, allocations: 227.8 kB / 387.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.255e-05/0.02067, allocations: 242.7 kB / 387.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.846e-05/0.02074, allocations: 246.7 kB / 387.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.434e-05/0.02083, allocations: 149.5 kB / 387.9 MB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.02087, allocations: 119.4 kB / 388 MB, free: 9.805 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.953e-05/0.02094, allocations: 242.7 kB / 388.3 MB, free: 9.566 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-05/0.02102, allocations: 242.3 kB / 388.5 MB, free: 9.328 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.556e-05/0.02109, allocations: 250.4 kB / 388.7 MB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002847/0.02138, allocations: 0.5641 MB / 389.3 MB, free: 8.484 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.0215, allocations: 269.4 kB / 389.6 MB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.02154, allocations: 126.9 kB / 389.7 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.02158, allocations: 119.2 kB / 389.8 MB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.697e-05/0.02164, allocations: 156.6 kB / 390 MB, free: 7.797 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.733e-06/0.02164, allocations: 0 / 390 MB, free: 7.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.464e-05/0.02173, allocations: 37.62 kB / 390 MB, free: 7.754 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.945e-05/0.02183, allocations: 225.9 kB / 390.2 MB, free: 7.508 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.02194, allocations: 157.9 kB / 390.4 MB, free: 7.336 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.02195, allocations: 29.83 kB / 390.4 MB, free: 7.301 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.022, allocations: 126.9 kB / 390.5 MB, free: 7.172 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.022, allocations: 0 / 390.5 MB, free: 7.172 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.02203, allocations: 19.42 kB / 390.5 MB, free: 7.145 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.02217, allocations: 496.1 kB / 391 MB, free: 6.648 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.221e-06/0.02217, allocations: 0 / 391 MB, free: 6.648 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.919e-05/0.02223, allocations: 74.77 kB / 391.1 MB, free: 6.555 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.66e-05/0.02227, allocations: 119.2 kB / 391.2 MB, free: 6.438 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-05/0.0223, allocations: 123.2 kB / 391.3 MB, free: 6.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.737e-05/0.02236, allocations: 33.64 kB / 391.4 MB, free: 6.277 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/0.0224, allocations: 123.2 kB / 391.5 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.289e-05/0.02243, allocations: 123.2 kB / 391.6 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.121e-05/0.0225, allocations: 242.4 kB / 391.8 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.544e-05/0.02254, allocations: 127.2 kB / 392 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.875e-05/0.0226, allocations: 242.3 kB / 392.2 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.293e-05/0.02269, allocations: 131.1 kB / 392.3 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.02272, allocations: 119.2 kB / 392.4 MB, free: 5.188 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.0001297/0.02285, allocations: 399 kB / 392.8 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.185e-05/0.02291, allocations: 148.8 kB / 393 MB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/0.02297, allocations: 147.9 kB / 393.1 MB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.634e-05/0.02303, allocations: 272.1 kB / 393.4 MB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.845e-05/0.0231, allocations: 276 kB / 393.7 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.696e-05/0.02317, allocations: 272.1 kB / 393.9 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.02337, allocations: 491.8 kB / 394.4 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.829e-05/0.02341, allocations: 148.8 kB / 394.6 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.02345, allocations: 152.9 kB / 394.7 MB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.021e-05/0.02352, allocations: 268 kB / 395 MB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-05/0.02359, allocations: 268.1 kB / 395.2 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.865e-05/0.02366, allocations: 272 kB / 395.5 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.627e-05/0.02373, allocations: 264.1 kB / 395.8 MB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.02388, allocations: 451.9 kB / 396.2 MB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.02392, allocations: 156.9 kB / 396.3 MB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.398e-05/0.02401, allocations: 268 kB / 396.6 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.882e-05/0.0241, allocations: 152.9 kB / 396.8 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.02417, allocations: 264.4 kB / 397 MB, free: 440 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.02421, allocations: 156.8 kB / 397.2 MB, free: 276 kB / 362.7 MB Notification: Performance of sorting global known variables: time 4.904e-05/0.02426, allocations: 119.2 kB / 397.3 MB, free: 156 kB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02426, allocations: 0 / 397.3 MB, free: 156 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002426/0.0245, allocations: 0 / 397.3 MB, free: 156 kB / 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.0001407/0.02464, allocations: 214.5 kB / 397.5 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.827e-05/0.0247, allocations: 8.125 kB / 397.5 MB, free: 15.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.0247, allocations: 4 kB / 397.5 MB, free: 15.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.0247, allocations: 0 / 397.5 MB, free: 15.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.02508, allocations: 0.7176 MB / 398.2 MB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002444/0.02533, allocations: 203.1 kB / 398.4 MB, free: 14.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.357e-05/0.02537, allocations: 55.3 kB / 398.5 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.766e-05/0.0254, allocations: 4 kB / 398.5 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/0.02542, allocations: 8.5 kB / 398.5 MB, free: 14.88 MB / 378.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02542, allocations: 0 / 398.5 MB, free: 14.88 MB / 378.7 MB Notification: Performance of Templates: time 0.00228/0.0277, allocations: 369.6 kB / 398.8 MB, free: 14.53 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0389629411511123]