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.0009265/0.0009265, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002269, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001022/0.001022, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001404/0.002426, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.043/1.043, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1012/1.144, allocations: 53.87 MB / 243.8 MB, free: 14.89 MB / 250.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.2688/0.2688, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02309/0.2919, allocations: 13.24 MB / 292.6 MB, free: 6.457 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.174e-06/2.174e-06, allocations: 0 / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/2.064e-05, allocations: 2.312 kB / 293.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001717/0.001737, allocations: 0.5303 MB / 294.4 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002884/0.004621, allocations: 2.149 MB / 296.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.666e-05/0.004638, allocations: 0 / 296.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.38e-06/0.004643, allocations: 0 / 296.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.333e-06/0.004651, allocations: 0 / 296.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.005716, allocations: 358.4 kB / 296.9 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.077e-05/0.005757, allocations: 3.938 kB / 296.9 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.005795, allocations: 11.98 kB / 296.9 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.264e-05/0.005838, allocations: 4 kB / 296.9 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0142/0.02004, allocations: 4.819 MB / 301.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.02006, allocations: 0 / 301.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.02017, allocations: 8 kB / 301.7 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.797e-06/0.02018, allocations: 0 / 301.7 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.834e-05/0.0202, allocations: 7.938 kB / 301.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.02033, allocations: 4 kB / 301.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.76e-05/0.02035, allocations: 4 kB / 301.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.02035, allocations: 0 / 301.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.02037, allocations: 0 / 301.7 MB, free: 14.46 MB / 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.0002635/0.02063, allocations: 221.2 kB / 301.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.02067, allocations: 12.92 kB / 302 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002206/0.02089, allocations: 161.3 kB / 302.1 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.021, allocations: 197 kB / 302.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/0.02104, allocations: 150.9 kB / 302.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.02108, allocations: 158.9 kB / 302.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.821e-05/0.02114, allocations: 105.5 kB / 302.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.02116, allocations: 79.47 kB / 302.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/0.0212, allocations: 154.9 kB / 302.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/0.02125, allocations: 154.5 kB / 303.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.573e-05/0.02129, allocations: 158.5 kB / 303.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.02147, allocations: 353.3 kB / 303.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.828e-05/0.02153, allocations: 169.1 kB / 303.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.466e-05/0.02156, allocations: 84.14 kB / 303.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.02158, allocations: 75.28 kB / 303.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.02162, allocations: 109.8 kB / 304 MB, free: 12.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.02162, allocations: 0 / 304 MB, free: 12.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.019e-05/0.02168, allocations: 37.62 kB / 304.1 MB, free: 12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.02174, allocations: 126.7 kB / 304.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.961e-05/0.02181, allocations: 102.7 kB / 304.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.02182, allocations: 25.7 kB / 304.3 MB, free: 11.72 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.623e-05/0.02185, allocations: 84.08 kB / 304.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.81e-07/0.02185, allocations: 0 / 304.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.02187, allocations: 13.72 kB / 304.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.332e-05/0.02195, allocations: 314.8 kB / 304.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.006e-06/0.02196, allocations: 0 / 304.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.753e-05/0.022, allocations: 69.12 kB / 304.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.529e-05/0.02203, allocations: 87.42 kB / 304.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.997e-05/0.02205, allocations: 75.28 kB / 304.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.557e-05/0.0221, allocations: 33.64 kB / 305 MB, free: 11.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.02213, allocations: 83.28 kB / 305 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.02215, allocations: 75.28 kB / 305.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.554e-05/0.02219, allocations: 154.5 kB / 305.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.233e-05/0.02222, allocations: 75.28 kB / 305.3 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.665e-05/0.02225, allocations: 154.6 kB / 305.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.561e-05/0.02233, allocations: 87.14 kB / 305.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.02235, allocations: 79.33 kB / 305.7 MB, free: 10.32 MB / 298.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 9.202e-05/0.02244, allocations: 268.4 kB / 305.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.02249, allocations: 108.9 kB / 306 MB, free: 9.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.02253, allocations: 104 kB / 306.1 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.904e-05/0.02257, allocations: 184.2 kB / 306.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.331e-05/0.02262, allocations: 184.2 kB / 306.5 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.544e-05/0.02266, allocations: 176.3 kB / 306.7 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.02281, allocations: 321.3 kB / 307 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.769e-05/0.02284, allocations: 105 kB / 307.1 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.02287, allocations: 108.9 kB / 307.2 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.0229, allocations: 105 kB / 307.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.486e-05/0.02294, allocations: 176.3 kB / 307.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/0.023, allocations: 188.5 kB / 307.6 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.275e-05/0.02304, allocations: 176.3 kB / 307.8 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.667e-05/0.02309, allocations: 188.2 kB / 308 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.02319, allocations: 307.8 kB / 308.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.02325, allocations: 180.2 kB / 308.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.555e-05/0.02332, allocations: 109 kB / 308.6 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.02337, allocations: 184.2 kB / 308.8 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.0234, allocations: 101 kB / 308.9 MB, free: 6.941 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.497e-05/0.02341, allocations: 8.859 kB / 308.9 MB, free: 6.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02341, allocations: 3.938 kB / 308.9 MB, free: 6.926 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002002/0.02361, allocations: 4.094 kB / 308.9 MB, free: 6.922 MB / 298.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.0001008/0.02371, allocations: 147.7 kB / 309 MB, free: 6.766 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 3.697e-05/0.02375, allocations: 0 / 309 MB, free: 6.766 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.02376, allocations: 4 kB / 309 MB, free: 6.762 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.046e-06/0.02376, allocations: 7.938 kB / 309 MB, free: 6.754 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.02399, allocations: 467.6 kB / 309.5 MB, free: 6.293 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001643/0.02416, allocations: 150.5 kB / 309.6 MB, free: 6.117 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.17e-05/0.02419, allocations: 51.36 kB / 309.7 MB, free: 6.047 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.465e-05/0.02421, allocations: 4 kB / 309.7 MB, free: 6.043 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.02426, allocations: 59.36 kB / 309.7 MB, free: 5.984 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02427, allocations: 0 / 309.7 MB, free: 5.984 MB / 298.7 MB Notification: Performance of Templates: time 0.002014/0.02628, allocations: 399.4 kB / 310.1 MB, free: 5.609 MB / 298.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 -ignoreHideResult -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.8384483717381954]