Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.00101/0.00101, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001053/0.001053, allocations: 166.2 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.162/1.162, allocations: 177.1 MB / 205.3 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2894/0.2894, allocations: 32.8 MB / 294.6 MB, free: 1.277 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.923e-05, allocations: 6.25 kB / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001634/0.001664, allocations: 0.4892 MB / 376.5 MB, free: 4.504 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003689/0.005353, allocations: 2.117 MB / 378.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.343e-05/0.005376, allocations: 4 kB / 378.6 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.005389, allocations: 3.938 kB / 378.6 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.422e-05/0.005404, allocations: 0 / 378.6 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.006652, allocations: 410.4 kB / 379 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.905e-05/0.006691, allocations: 0 / 379 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.838e-05/0.00672, allocations: 0 / 379 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.289e-05/0.006743, allocations: 4 kB / 379 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01282/0.01956, allocations: 4.85 MB / 383.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.01957, allocations: 0 / 383.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.613e-05/0.01963, allocations: 4 kB / 383.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.682e-06/0.01964, allocations: 0 / 383.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.553e-05/0.01965, allocations: 4 kB / 383.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 9.744e-05/0.01975, allocations: 15.92 kB / 383.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.01975, allocations: 0 / 383.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01975, allocations: 4 kB / 383.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.01976, allocations: 0 / 383.9 MB, free: 14.21 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.0002213/0.01998, allocations: 348.3 kB / 384.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.02001, allocations: 8.031 kB / 384.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.02017, allocations: 128.1 kB / 384.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.02027, allocations: 231.8 kB / 384.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.893e-05/0.02033, allocations: 242.7 kB / 384.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-05/0.02038, allocations: 242.7 kB / 385 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.692e-05/0.02044, allocations: 149.5 kB / 385.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.02047, allocations: 127.1 kB / 385.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.948e-05/0.02053, allocations: 242.4 kB / 385.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.954e-05/0.02059, allocations: 238.4 kB / 385.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.426e-05/0.02064, allocations: 242.4 kB / 386 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.02086, allocations: 0.5642 MB / 386.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.95e-05/0.02094, allocations: 265.4 kB / 386.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.02097, allocations: 130.8 kB / 387 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.021, allocations: 119.2 kB / 387.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/0.02105, allocations: 156.6 kB / 387.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.02105, allocations: 4 kB / 387.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.667e-05/0.02111, allocations: 33.62 kB / 387.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/0.02119, allocations: 226 kB / 387.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.785e-05/0.02128, allocations: 153.9 kB / 387.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.02129, allocations: 25.7 kB / 387.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.847e-05/0.02133, allocations: 126.9 kB / 387.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.02133, allocations: 0 / 387.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/0.02136, allocations: 23.42 kB / 387.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.02147, allocations: 0.4883 MB / 388.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-06/0.02148, allocations: 0 / 388.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.407e-05/0.02152, allocations: 74.77 kB / 388.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.152e-05/0.02155, allocations: 119.2 kB / 388.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.602e-05/0.02158, allocations: 123.3 kB / 388.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.6e-05/0.02162, allocations: 29.7 kB / 388.6 MB, free: 9.188 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/0.02165, allocations: 123.2 kB / 388.8 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/0.02168, allocations: 127.1 kB / 388.9 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.639e-05/0.02175, allocations: 246.3 kB / 389.1 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.152e-05/0.02178, allocations: 127.3 kB / 389.2 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-05/0.02184, allocations: 242.3 kB / 389.5 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.279e-05/0.02191, allocations: 127.2 kB / 389.6 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.02194, allocations: 123.1 kB / 389.7 MB, free: 8.09 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.0001168/0.02206, allocations: 395 kB / 390.1 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.02211, allocations: 148.9 kB / 390.3 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.02216, allocations: 159.8 kB / 390.4 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.779e-05/0.02222, allocations: 272 kB / 390.7 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.324e-05/0.02229, allocations: 264.1 kB / 390.9 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.414e-05/0.02235, allocations: 272 kB / 391.2 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.02253, allocations: 491.9 kB / 391.7 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.726e-05/0.02257, allocations: 156.8 kB / 391.8 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.0226, allocations: 144.9 kB / 392 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.411e-05/0.02267, allocations: 264.1 kB / 392.2 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.91e-05/0.02272, allocations: 272 kB / 392.5 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.77e-05/0.02278, allocations: 272.1 kB / 392.8 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-05/0.02284, allocations: 272 kB / 393 MB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.02297, allocations: 452 kB / 393.5 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.02301, allocations: 148.8 kB / 393.6 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.676e-05/0.02311, allocations: 264.1 kB / 393.9 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.224e-05/0.02319, allocations: 156.8 kB / 394 MB, free: 3.602 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.264e-05/0.02328, allocations: 272.3 kB / 394.3 MB, free: 3.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.02333, allocations: 148.9 kB / 394.4 MB, free: 3.176 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.686e-05/0.02337, allocations: 119.2 kB / 394.6 MB, free: 3.059 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02337, allocations: 3.938 kB / 394.6 MB, free: 3.055 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001623/0.02353, allocations: 4.094 kB / 394.6 MB, free: 3.051 MB / 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.0001175/0.02365, allocations: 210.4 kB / 394.8 MB, free: 2.836 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.246e-05/0.0237, allocations: 8.031 kB / 394.8 MB, free: 2.828 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.02371, allocations: 0 / 394.8 MB, free: 2.828 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.02371, allocations: 0 / 394.8 MB, free: 2.828 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.02404, allocations: 0.7101 MB / 395.5 MB, free: 2.113 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000194/0.02424, allocations: 207 kB / 395.7 MB, free: 1.879 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.33e-05/0.02427, allocations: 55.36 kB / 395.7 MB, free: 1.805 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.881e-05/0.02429, allocations: 3.938 kB / 395.8 MB, free: 1.801 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.067e-05/0.0243, allocations: 16.44 kB / 395.8 MB, free: 1.785 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.0243, allocations: 0 / 395.8 MB, free: 1.785 MB / 362.7 MB Notification: Performance of Templates: time 0.00167/0.02597, allocations: 351.7 kB / 396.1 MB, free: 1.457 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.238136061001569]