Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002401/0.002401, allocations: 92.97 kB / 20.21 MB, free: 4.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002802/0.002802, allocations: 165.2 kB / 23.53 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1992/0.1992, allocations: 32.38 MB / 270 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.446e-05, allocations: 6.312 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.00125/0.001275, allocations: 0.4926 MB / 347.4 MB, free: 9.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.003451, allocations: 2.016 MB / 349.4 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.356e-05/0.003464, allocations: 0 / 349.4 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.123e-05/0.003476, allocations: 0 / 349.4 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.486e-05/0.0035, allocations: 0 / 349.4 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009168/0.004417, allocations: 390.5 kB / 349.8 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.33e-05/0.004461, allocations: 4 kB / 349.8 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.004497, allocations: 4 kB / 349.8 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.219e-05/0.004529, allocations: 0 / 349.8 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02687/0.0314, allocations: 4.833 MB / 354.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.03142, allocations: 4 kB / 354.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.489e-05/0.03149, allocations: 8 kB / 354.7 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.0315, allocations: 4 kB / 354.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.881e-05/0.03152, allocations: 0 / 354.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.03166, allocations: 4 kB / 354.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.03166, allocations: 0 / 354.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.03166, allocations: 0 / 354.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.03167, allocations: 3.984 kB / 354.7 MB, free: 2.152 MB / 282.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.0002249/0.03189, allocations: 356.3 kB / 355 MB, free: 1.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.03193, allocations: 8.031 kB / 355 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.03211, allocations: 136.1 kB / 355.2 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.043e-05/0.0322, allocations: 223.8 kB / 355.4 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.03224, allocations: 242.8 kB / 355.6 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.03226, allocations: 246.8 kB / 355.9 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.9e-05/0.03231, allocations: 145.5 kB / 356 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.03233, allocations: 123.1 kB / 356.1 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.03237, allocations: 238.4 kB / 356.3 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/0.0324, allocations: 242.4 kB / 356.6 MB, free: 164 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.625e-05/0.03249, allocations: 242.3 kB / 356.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.03292, allocations: 0.572 MB / 357.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.03311, allocations: 261.4 kB / 357.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.646e-05/0.03319, allocations: 134.8 kB / 357.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.112e-05/0.03327, allocations: 119.2 kB / 357.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/0.03337, allocations: 160.5 kB / 358.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.03337, allocations: 0 / 358.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001001/0.03347, allocations: 29.64 kB / 358.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001713/0.03364, allocations: 226 kB / 358.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.0338, allocations: 157.9 kB / 358.5 MB, free: 14.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.03382, allocations: 25.7 kB / 358.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.0339, allocations: 126.9 kB / 358.6 MB, free: 14.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.0339, allocations: 128 / 358.6 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.03394, allocations: 23.38 kB / 358.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003106/0.03425, allocations: 492.1 kB / 359.1 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.638e-06/0.03425, allocations: 0 / 359.1 MB, free: 13.49 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.387e-05/0.03432, allocations: 70.78 kB / 359.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.644e-05/0.0344, allocations: 123.2 kB / 359.3 MB, free: 13.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.424e-05/0.03447, allocations: 123.1 kB / 359.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.431e-05/0.03453, allocations: 29.7 kB / 359.4 MB, free: 13.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.769e-05/0.03461, allocations: 127.2 kB / 359.6 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001323/0.03474, allocations: 123.2 kB / 359.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001412/0.03488, allocations: 246.2 kB / 359.9 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.434e-05/0.03495, allocations: 123.2 kB / 360.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001505/0.0351, allocations: 250.3 kB / 360.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.03522, allocations: 119.2 kB / 360.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/0.03528, allocations: 123.2 kB / 360.5 MB, free: 12.03 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 0.0002411/0.03553, allocations: 395 kB / 360.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.03564, allocations: 160.8 kB / 361.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.03574, allocations: 148.1 kB / 361.2 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001607/0.0359, allocations: 276 kB / 361.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003962/0.0363, allocations: 276.1 kB / 361.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001523/0.03645, allocations: 264.1 kB / 362 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/0.03682, allocations: 0.492 MB / 362.5 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.983e-05/0.0369, allocations: 144.9 kB / 362.7 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.872e-05/0.03699, allocations: 148.8 kB / 362.8 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001508/0.03715, allocations: 264.1 kB / 363.1 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001595/0.0373, allocations: 276.1 kB / 363.3 MB, free: 9.113 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001603/0.03746, allocations: 268 kB / 363.6 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001538/0.03762, allocations: 276 kB / 363.9 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.03791, allocations: 440 kB / 364.3 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.03802, allocations: 156.8 kB / 364.4 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.03817, allocations: 272.1 kB / 364.7 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.0383, allocations: 144.9 kB / 364.8 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.03846, allocations: 280 kB / 365.1 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.314e-05/0.03855, allocations: 144.9 kB / 365.3 MB, free: 7.098 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003718/0.03892, allocations: 123.2 kB / 365.4 MB, free: 6.977 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03892, allocations: 0 / 365.4 MB, free: 6.977 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000263/0.03918, allocations: 4 kB / 365.4 MB, free: 6.973 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.0001877/0.03937, allocations: 214.4 kB / 365.6 MB, free: 6.754 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.537e-05/0.03942, allocations: 3.938 kB / 365.6 MB, free: 6.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.03942, allocations: 0 / 365.6 MB, free: 6.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.258e-06/0.03943, allocations: 4.094 kB / 365.6 MB, free: 6.746 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005839/0.04001, allocations: 0.7061 MB / 366.3 MB, free: 6.035 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.04031, allocations: 211.1 kB / 366.5 MB, free: 5.801 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.122e-05/0.04038, allocations: 55.34 kB / 366.6 MB, free: 5.727 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.821e-05/0.04041, allocations: 4 kB / 366.6 MB, free: 5.723 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.04043, allocations: 8.5 kB / 366.6 MB, free: 5.715 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.04043, allocations: 0 / 366.6 MB, free: 5.715 MB / 298.7 MB Notification: Performance of Templates: time 0.003131/0.04356, allocations: 345.5 kB / 366.9 MB, free: 5.383 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.805814213003032]