Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001166/0.001166, allocations: 78.66 kB / 21.42 MB, free: 3.078 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.002109/0.002109, allocations: 170.7 kB / 24.82 MB, free: 8.922 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.105/1.105, allocations: 177.2 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.322/0.322, allocations: 34.26 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 378.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.42e-05, allocations: 2.312 kB / 378.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001257/0.001281, allocations: 496.5 kB / 379 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.00355, allocations: 2.113 MB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.735e-05/0.003568, allocations: 0 / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.003581, allocations: 0 / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 1.662e-05/0.003598, allocations: 0 / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007965/0.004394, allocations: 402.4 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 3.419e-05/0.004428, allocations: 4 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.955e-05/0.004458, allocations: 0 / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.053e-05/0.004488, allocations: 11.98 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01086/0.01535, allocations: 4.833 MB / 386.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.01537, allocations: 0 / 386.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.982e-05/0.01545, allocations: 4 kB / 386.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.01546, allocations: 3.984 kB / 386.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.432e-05/0.01547, allocations: 4 kB / 386.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.01558, allocations: 11.98 kB / 386.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.01558, allocations: 4 kB / 386.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01558, allocations: 0 / 386.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.01559, allocations: 3.938 kB / 386.4 MB, free: 11.65 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.0002317/0.01582, allocations: 348.3 kB / 386.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.01585, allocations: 8.031 kB / 386.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.016, allocations: 132.1 kB / 386.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.856e-05/0.0161, allocations: 227.8 kB / 387.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-05/0.01616, allocations: 238.8 kB / 387.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.01621, allocations: 242.8 kB / 387.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.989e-05/0.01627, allocations: 145.5 kB / 387.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.651e-05/0.01631, allocations: 127.1 kB / 387.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/0.01636, allocations: 238.4 kB / 388 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.559e-05/0.01643, allocations: 238.4 kB / 388.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.715e-05/0.01648, allocations: 250.2 kB / 388.5 MB, free: 9.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.01668, allocations: 0.5491 MB / 389.1 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.063e-05/0.01676, allocations: 269.4 kB / 389.3 MB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.217e-05/0.01679, allocations: 126.9 kB / 389.4 MB, free: 8.449 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.01682, allocations: 119.2 kB / 389.6 MB, free: 8.332 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.01687, allocations: 164.5 kB / 389.7 MB, free: 8.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.01687, allocations: 0 / 389.7 MB, free: 8.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 4.925e-05/0.01692, allocations: 29.7 kB / 389.7 MB, free: 8.125 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.763e-05/0.01702, allocations: 225.9 kB / 390 MB, free: 7.879 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.324e-05/0.0171, allocations: 153.9 kB / 390.1 MB, free: 7.711 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.01711, allocations: 25.7 kB / 390.1 MB, free: 7.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.01715, allocations: 126.9 kB / 390.3 MB, free: 7.551 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-07/0.01715, allocations: 0 / 390.3 MB, free: 7.551 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.01718, allocations: 27.38 kB / 390.3 MB, free: 7.516 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.0173, allocations: 492.1 kB / 390.8 MB, free: 7.023 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-06/0.0173, allocations: 0 / 390.8 MB, free: 7.023 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.037e-05/0.01734, allocations: 74.77 kB / 390.8 MB, free: 6.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.157e-05/0.01737, allocations: 123.3 kB / 391 MB, free: 6.809 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.781e-05/0.0174, allocations: 123.2 kB / 391.1 MB, free: 6.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.516e-05/0.01743, allocations: 29.7 kB / 391.1 MB, free: 6.652 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/0.01747, allocations: 123.2 kB / 391.2 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-05/0.0175, allocations: 123.2 kB / 391.4 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.201e-05/0.01757, allocations: 242.3 kB / 391.6 MB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.043e-05/0.0176, allocations: 127.2 kB / 391.7 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.469e-05/0.01765, allocations: 246.3 kB / 392 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.222e-05/0.01771, allocations: 127.2 kB / 392.1 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.01774, allocations: 119.2 kB / 392.2 MB, free: 5.562 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.0001154/0.01785, allocations: 402.9 kB / 392.6 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.0179, allocations: 148.8 kB / 392.7 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.337e-05/0.01795, allocations: 151.9 kB / 392.9 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.077e-05/0.01801, allocations: 272 kB / 393.1 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.235e-05/0.01808, allocations: 268 kB / 393.4 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.153e-05/0.01814, allocations: 272.1 kB / 393.7 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.01831, allocations: 476.5 kB / 394.1 MB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-05/0.01834, allocations: 148.9 kB / 394.3 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-05/0.01837, allocations: 152.8 kB / 394.4 MB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.676e-05/0.01843, allocations: 272 kB / 394.7 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-05/0.01849, allocations: 268.1 kB / 395 MB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.188e-05/0.01855, allocations: 272 kB / 395.2 MB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.618e-05/0.01861, allocations: 264.1 kB / 395.5 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.01877, allocations: 459.9 kB / 395.9 MB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.01881, allocations: 148.8 kB / 396.1 MB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.01887, allocations: 264.1 kB / 396.3 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.63e-05/0.01894, allocations: 152.9 kB / 396.5 MB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.019, allocations: 272.3 kB / 396.8 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.01903, allocations: 152.9 kB / 396.9 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.634e-05/0.01907, allocations: 123.1 kB / 397 MB, free: 0.543 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01907, allocations: 0 / 397 MB, free: 0.543 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00016/0.01923, allocations: 4.094 kB / 397 MB, free: 0.5391 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 9.452e-05/0.01932, allocations: 214.4 kB / 397.2 MB, free: 328 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.952e-05/0.01936, allocations: 11.97 kB / 397.3 MB, free: 316 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01936, allocations: 0 / 397.3 MB, free: 316 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.01936, allocations: 0 / 397.3 MB, free: 316 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.01966, allocations: 0.7056 MB / 398 MB, free: 15.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001594/0.01982, allocations: 207.1 kB / 398.2 MB, free: 15.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.489e-05/0.01985, allocations: 55.36 kB / 398.2 MB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.591e-05/0.01987, allocations: 0 / 398.2 MB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.01991, allocations: 78.19 kB / 398.3 MB, free: 15.21 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01991, allocations: 0 / 398.3 MB, free: 15.21 MB / 378.7 MB Notification: Performance of Templates: time 0.001582/0.0215, allocations: 364.9 kB / 398.6 MB, free: 14.87 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.1952211847528815]