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.001006/0.001006, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.000997/0.000997, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.9463/0.9463, allocations: 177 MB / 205.2 MB, free: 5.02 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.2778/0.2778, allocations: 34.86 MB / 296.6 MB, free: 376 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.332e-06/1.332e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.831e-05, allocations: 2.312 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001324/0.001343, allocations: 500 kB / 326.4 MB, free: 6.668 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00303/0.004373, allocations: 2.132 MB / 328.5 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.582e-05/0.004388, allocations: 0 / 328.5 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.287e-05/0.004401, allocations: 0 / 328.5 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.185e-05/0.004423, allocations: 4 kB / 328.5 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.005519, allocations: 406.4 kB / 328.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.559e-05/0.005555, allocations: 0 / 328.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.005601, allocations: 11.98 kB / 328.9 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.69e-05/0.005628, allocations: 4 kB / 328.9 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01472/0.02035, allocations: 4.81 MB / 333.7 MB, free: 440 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.02036, allocations: 0 / 333.7 MB, free: 440 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.54e-05/0.02043, allocations: 4 kB / 333.7 MB, free: 436 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.756e-06/0.02044, allocations: 0 / 333.7 MB, free: 436 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.314e-05/0.02045, allocations: 4.625 kB / 333.7 MB, free: 432 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.799e-05/0.02055, allocations: 11.94 kB / 333.7 MB, free: 420 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.02055, allocations: 4 kB / 333.8 MB, free: 416 kB / 298.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.02055, allocations: 0 / 333.8 MB, free: 416 kB / 298.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.02055, allocations: 0 / 333.8 MB, free: 416 kB / 298.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.0002075/0.02076, allocations: 221 kB / 334 MB, free: 172 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.02079, allocations: 12.03 kB / 334 MB, free: 160 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.02096, allocations: 84.2 kB / 334.1 MB, free: 76 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.02108, allocations: 189 kB / 334.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.545e-05/0.02113, allocations: 154.9 kB / 334.4 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.02117, allocations: 150.9 kB / 334.5 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.624e-05/0.02123, allocations: 109.5 kB / 334.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.02126, allocations: 79.45 kB / 334.7 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/0.0213, allocations: 150.9 kB / 334.9 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-05/0.02135, allocations: 154.5 kB / 335 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.96e-05/0.0214, allocations: 158.5 kB / 335.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.0216, allocations: 349.3 kB / 335.5 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.479e-05/0.02167, allocations: 177.1 kB / 335.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/0.0217, allocations: 80.14 kB / 335.8 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.02172, allocations: 75.28 kB / 335.9 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.02176, allocations: 113.8 kB / 336 MB, free: 14.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 2.665e-06/0.02176, allocations: 3.984 kB / 336 MB, free: 14.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 5.989e-05/0.02182, allocations: 29.64 kB / 336 MB, free: 14.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.0219, allocations: 182.1 kB / 336.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.044e-05/0.02197, allocations: 98.72 kB / 336.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.02198, allocations: 25.7 kB / 336.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.739e-05/0.02201, allocations: 80.14 kB / 336.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.31e-07/0.02201, allocations: 0 / 336.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.02203, allocations: 13.72 kB / 336.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.868e-05/0.02212, allocations: 314.8 kB / 336.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-06/0.02212, allocations: 4.125 kB / 336.7 MB, free: 13.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.135e-05/0.02217, allocations: 69.12 kB / 336.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.281e-05/0.02219, allocations: 75.28 kB / 336.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.126e-05/0.02221, allocations: 75.28 kB / 336.9 MB, free: 13.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.352e-05/0.02226, allocations: 45.61 kB / 337 MB, free: 13.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.02229, allocations: 83.28 kB / 337 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.02232, allocations: 75.28 kB / 337.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.09e-05/0.02237, allocations: 154.6 kB / 337.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.714e-05/0.0224, allocations: 79.3 kB / 337.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.975e-05/0.02243, allocations: 154.6 kB / 337.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.128e-05/0.02252, allocations: 91.17 kB / 337.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.02254, allocations: 83.27 kB / 337.7 MB, free: 12.3 MB / 314.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.0001011/0.02264, allocations: 260.4 kB / 337.9 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.02269, allocations: 108.9 kB / 338 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.712e-05/0.02273, allocations: 104 kB / 338.1 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.671e-05/0.02278, allocations: 176.3 kB / 338.3 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.246e-05/0.02283, allocations: 188.2 kB / 338.5 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-05/0.02288, allocations: 176.3 kB / 338.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.02305, allocations: 321.3 kB / 339 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.71e-05/0.02309, allocations: 105 kB / 339.1 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.02313, allocations: 112.9 kB / 339.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.797e-05/0.02319, allocations: 180.3 kB / 339.4 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.795e-05/0.02324, allocations: 176.3 kB / 339.5 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-05/0.02329, allocations: 180.2 kB / 339.7 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.172e-05/0.02338, allocations: 180.3 kB / 339.9 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.02349, allocations: 315.7 kB / 340.2 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.02352, allocations: 105 kB / 340.3 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.02358, allocations: 184.2 kB / 340.5 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.742e-05/0.02367, allocations: 113 kB / 340.6 MB, free: 9.219 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.02378, allocations: 180.5 kB / 340.8 MB, free: 9.035 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.02381, allocations: 105 kB / 340.9 MB, free: 8.926 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.228e-05/0.02382, allocations: 12.86 kB / 340.9 MB, free: 8.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02382, allocations: 0 / 340.9 MB, free: 8.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.02406, allocations: 0 / 340.9 MB, free: 8.91 MB / 314.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 9.637e-05/0.02415, allocations: 147.7 kB / 341 MB, free: 8.754 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 3.966e-05/0.02419, allocations: 4.75 kB / 341 MB, free: 8.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.0242, allocations: 0 / 341 MB, free: 8.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.0242, allocations: 7.938 kB / 341 MB, free: 8.742 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.02444, allocations: 459.6 kB / 341.5 MB, free: 8.289 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00015/0.02459, allocations: 158.5 kB / 341.6 MB, free: 8.105 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.176e-05/0.02462, allocations: 55.3 kB / 341.7 MB, free: 8.031 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.939e-05/0.02464, allocations: 0 / 341.7 MB, free: 8.031 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.02469, allocations: 59.36 kB / 341.7 MB, free: 7.973 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02469, allocations: 0 / 341.7 MB, free: 7.973 MB / 314.7 MB Notification: Performance of Templates: time 0.001934/0.02662, allocations: 381.2 kB / 342.1 MB, free: 7.609 MB / 314.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: 2.9024542989209294]