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.001147/0.001147, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001118/0.001118, allocations: 166.8 kB / 25.61 MB, free: 8.582 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.9677/0.9677, allocations: 177 MB / 205.9 MB, free: 4.469 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.2309/0.2309, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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 2.404e-06/2.404e-06, allocations: 0 / 380 MB, free: 22.79 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.105e-05, allocations: 5.156 kB / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001089/0.00112, allocations: 495.6 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.003222, allocations: 2.106 MB / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.242e-05/0.003244, allocations: 4 kB / 382.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.00326, allocations: 0 / 382.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.017e-05/0.00328, allocations: 0 / 382.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008433/0.004123, allocations: 410.4 kB / 383 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 3.772e-05/0.004161, allocations: 4 kB / 383 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.004198, allocations: 3.984 kB / 383 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.443e-05/0.004223, allocations: 7.938 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01036/0.01459, allocations: 4.795 MB / 387.8 MB, free: 16.11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.01461, allocations: 0 / 387.8 MB, free: 16.11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.01471, allocations: 8 kB / 387.8 MB, free: 16.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.979e-06/0.01472, allocations: 0 / 387.8 MB, free: 16.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.01474, allocations: 4 kB / 387.8 MB, free: 16.1 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.01486, allocations: 7.984 kB / 387.8 MB, free: 16.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.01486, allocations: 0 / 387.8 MB, free: 16.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01486, allocations: 4 kB / 387.8 MB, free: 16.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.01487, allocations: 3.984 kB / 387.8 MB, free: 16.09 MB / 314.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.0001881/0.01506, allocations: 344.7 kB / 388.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.01509, allocations: 8.031 kB / 388.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.01524, allocations: 136.1 kB / 388.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.857e-05/0.01531, allocations: 227.8 kB / 388.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.01533, allocations: 238.8 kB / 388.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.01535, allocations: 238.8 kB / 389 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.771e-05/0.01539, allocations: 153.4 kB / 389.1 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.0154, allocations: 123.3 kB / 389.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.01542, allocations: 242.8 kB / 389.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.01544, allocations: 242.3 kB / 389.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.955e-05/0.01546, allocations: 246.4 kB / 390 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.01559, allocations: 0.5491 MB / 390.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.752e-05/0.01564, allocations: 269.4 kB / 390.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.296e-05/0.01565, allocations: 126.9 kB / 390.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.01566, allocations: 119.2 kB / 391 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.01568, allocations: 156.6 kB / 391.2 MB, free: 12.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.482e-06/0.01569, allocations: 0 / 391.2 MB, free: 12.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 5.104e-05/0.01574, allocations: 25.7 kB / 391.2 MB, free: 12.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.01578, allocations: 230 kB / 391.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.49e-05/0.01584, allocations: 161.9 kB / 391.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.009e-06/0.01584, allocations: 29.64 kB / 391.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.508e-05/0.01586, allocations: 126.9 kB / 391.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.093e-06/0.01586, allocations: 0 / 391.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.01588, allocations: 27.36 kB / 391.7 MB, free: 11.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.135e-05/0.01592, allocations: 492.1 kB / 392.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.086e-06/0.01592, allocations: 0 / 392.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.562e-05/0.01595, allocations: 70.78 kB / 392.3 MB, free: 11.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.251e-05/0.01596, allocations: 119.2 kB / 392.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.639e-06/0.01597, allocations: 119.3 kB / 392.5 MB, free: 11.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.447e-05/0.016, allocations: 33.7 kB / 392.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.01602, allocations: 123.2 kB / 392.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.01603, allocations: 123.1 kB / 392.8 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/0.01606, allocations: 246.4 kB / 393 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.048e-05/0.01607, allocations: 127.2 kB / 393.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.01609, allocations: 242.4 kB / 393.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.169e-05/0.01614, allocations: 127.1 kB / 393.5 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.01615, allocations: 123.1 kB / 393.6 MB, free: 9.992 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 6.287e-05/0.01621, allocations: 395 kB / 394 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.01624, allocations: 148.9 kB / 394.2 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.01627, allocations: 155.8 kB / 394.3 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.646e-05/0.01629, allocations: 276.1 kB / 394.6 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.039e-05/0.01631, allocations: 264.1 kB / 394.9 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/0.01633, allocations: 276 kB / 395.1 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.352e-05/0.01642, allocations: 480.5 kB / 395.6 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.01643, allocations: 148.8 kB / 395.7 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-05/0.01644, allocations: 148.9 kB / 395.9 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-05/0.01646, allocations: 264.1 kB / 396.1 MB, free: 7.391 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.01649, allocations: 268 kB / 396.4 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.237e-05/0.01651, allocations: 276.1 kB / 396.7 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.208e-05/0.01653, allocations: 280 kB / 397 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.462e-05/0.01659, allocations: 447.9 kB / 397.4 MB, free: 6.098 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.01661, allocations: 148.9 kB / 397.5 MB, free: 5.945 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.01665, allocations: 268.1 kB / 397.8 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.877e-05/0.0167, allocations: 156.8 kB / 397.9 MB, free: 5.516 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.01674, allocations: 264.1 kB / 398.2 MB, free: 5.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.01675, allocations: 149.2 kB / 398.4 MB, free: 5.098 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.794e-05/0.01678, allocations: 123.2 kB / 398.5 MB, free: 4.977 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01678, allocations: 0 / 398.5 MB, free: 4.977 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001542/0.01694, allocations: 0 / 398.5 MB, free: 4.977 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.91e-05/0.01704, allocations: 218.5 kB / 398.7 MB, free: 4.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.385e-05/0.01709, allocations: 3.938 kB / 398.7 MB, free: 4.746 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01709, allocations: 0 / 398.7 MB, free: 4.746 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.01709, allocations: 4 kB / 398.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.01728, allocations: 0.7062 MB / 399.4 MB, free: 4.031 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001226/0.0174, allocations: 209.1 kB / 399.6 MB, free: 3.797 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.978e-05/0.01742, allocations: 55.22 kB / 399.7 MB, free: 3.723 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.393e-05/0.01744, allocations: 0 / 399.7 MB, free: 3.723 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.01748, allocations: 78.19 kB / 399.7 MB, free: 3.645 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01748, allocations: 4 kB / 399.7 MB, free: 3.641 MB / 314.7 MB Notification: Performance of Templates: time 0.001681/0.01916, allocations: 366.8 kB / 400.1 MB, free: 3.289 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: 3.184322429820895]