Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.00131/0.00131, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.002069/0.002069, allocations: 173.4 kB / 24.91 MB, free: 8.773 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 0.9765/0.9765, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2546/0.2546, allocations: 34.26 MB / 296.1 MB, free: 0.7422 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.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.545e-05, allocations: 3.188 kB / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003335/0.003361, allocations: 1.757 MB / 327.1 MB, free: 5.859 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.004459, allocations: 0.5529 MB / 327.6 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.004514, allocations: 0 / 327.6 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004509/0.004965, allocations: 455 kB / 328.1 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.005292, allocations: 291.2 kB / 328.4 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.00553, allocations: 131.5 kB / 328.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.005718, allocations: 175.6 kB / 328.7 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.792e-05/0.005796, allocations: 15.98 kB / 328.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.005906, allocations: 123.8 kB / 328.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.006065, allocations: 199.6 kB / 329 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.00608, allocations: 4 kB / 329 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.43e-05/0.006164, allocations: 51.91 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.014e-05/0.006244, allocations: 79.72 kB / 329.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.006279, allocations: 56.16 kB / 329.2 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.006482, allocations: 207.1 kB / 329.4 MB, free: 3.547 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.006484, allocations: 0 / 329.4 MB, free: 3.547 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006485, allocations: 0 / 329.4 MB, free: 3.547 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.006489, allocations: 0 / 329.4 MB, free: 3.547 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004205/0.00691, allocations: 0.5463 MB / 329.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.00694, allocations: 12.03 kB / 329.9 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.006977, allocations: 24.91 kB / 330 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.007158, allocations: 250 kB / 330.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.007166, allocations: 384 / 330.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.007185, allocations: 8.375 kB / 330.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.829e-05/0.007273, allocations: 58.95 kB / 330.3 MB, free: 2.598 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.007282, allocations: 4.172 kB / 330.3 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.007291, allocations: 8.125 kB / 330.3 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.007295, allocations: 0 / 330.3 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.342e-05/0.007318, allocations: 11.94 kB / 330.3 MB, free: 2.574 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.00753, allocations: 172.2 kB / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.825e-05/0.007578, allocations: 34.59 kB / 330.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.283e-05/0.007591, allocations: 8.859 kB / 330.5 MB, free: 2.336 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.007609, allocations: 7.938 kB / 330.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.007629, allocations: 34.5 kB / 330.5 MB, free: 2.285 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.007629, allocations: 4 kB / 330.5 MB, free: 2.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000412/0.008041, allocations: 157.8 kB / 330.7 MB, free: 2.121 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.008068, allocations: 55.39 kB / 330.8 MB, free: 2.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.00838, allocations: 0.5244 MB / 331.3 MB, free: 1.516 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.00839, allocations: 25.7 kB / 331.3 MB, free: 1.484 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.008455, allocations: 145.2 kB / 331.4 MB, free: 1.336 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.008479, allocations: 31.73 kB / 331.5 MB, free: 1.305 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.008508, allocations: 13.72 kB / 331.5 MB, free: 1.285 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.008607, allocations: 370.6 kB / 331.9 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.008623, allocations: 7.938 kB / 331.9 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.213e-05/0.008635, allocations: 7.984 kB / 331.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.797e-05/0.008673, allocations: 32.83 kB / 331.9 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.008674, allocations: 4 kB / 331.9 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.326e-05/0.008748, allocations: 70.03 kB / 332 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.008759, allocations: 4 kB / 332 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.008763, allocations: 0 / 332 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.008774, allocations: 3.984 kB / 332 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.008835, allocations: 23.92 kB / 332 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.008839, allocations: 8.062 kB / 332 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.008863, allocations: 0 / 332 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.008869, allocations: 4 kB / 332 MB, free: 0.7383 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 (8): * Single equations (assignments): 8 * 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.946e-05/0.008939, allocations: 116.6 kB / 332.1 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.008967, allocations: 23.97 kB / 332.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.009091, allocations: 97.53 kB / 332.3 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.009093, allocations: 0 / 332.3 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.009096, allocations: 4 kB / 332.3 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.009099, allocations: 0 / 332.3 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.009357, allocations: 311.4 kB / 332.6 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.009359, allocations: 3.938 kB / 332.6 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.009403, allocations: 15.98 kB / 332.6 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.009405, allocations: 0 / 332.6 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.00941, allocations: 4 kB / 332.6 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.009411, allocations: 0 / 332.6 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.009413, allocations: 0 / 332.6 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.009519, allocations: 188.2 kB / 332.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.009543, allocations: 35.72 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.009555, allocations: 0 / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.205e-05/0.009597, allocations: 8.016 kB / 332.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.009619, allocations: 8 kB / 332.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.009625, allocations: 7.984 kB / 332.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001673/0.009792, allocations: 283.2 kB / 333.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009792, allocations: 0 / 333.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001468/0.009939, allocations: 23.94 kB / 333.1 MB, free: 15.57 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001171/0.01111, allocations: 0.5711 MB / 333.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.582e-05/0.01119, allocations: 40.75 kB / 333.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.01119, allocations: 8 kB / 333.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.104e-05/0.01121, allocations: 20.84 kB / 333.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.01141, allocations: 33.08 kB / 333.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005788/0.01199, allocations: 0.5954 MB / 334.4 MB, free: 14.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.268e-05/0.01206, allocations: 123.2 kB / 334.5 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.693e-05/0.01209, allocations: 12.72 kB / 334.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.01215, allocations: 59.38 kB / 334.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01215, allocations: 0 / 334.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of Templates: time 0.003945/0.01609, allocations: 1.714 MB / 336.3 MB, free: 12.65 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.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.8526547378860414]