Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001076/0.001076, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001049/0.001049, allocations: 173.9 kB / 24.92 MB, free: 8.723 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.9437/0.9437, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2727/0.2727, allocations: 32.8 MB / 294.6 MB, free: 1.184 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.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 323.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.557e-05/3.772e-05, allocations: 5.359 kB / 323.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.004366/0.004403, allocations: 1.689 MB / 324.9 MB, free: 8.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.005688, allocations: 0.5723 MB / 325.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.272e-05/0.005771, allocations: 0 / 325.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007113/0.006482, allocations: 455.1 kB / 325.9 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005698/0.007052, allocations: 303.1 kB / 326.2 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/0.007532, allocations: 167.5 kB / 326.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.007871, allocations: 175.6 kB / 326.6 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.007983, allocations: 16.59 kB / 326.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.00822, allocations: 127.7 kB / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.008495, allocations: 191.6 kB / 326.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.008526, allocations: 8 kB / 326.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.008634, allocations: 35.92 kB / 326.9 MB, free: 5.992 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.008759, allocations: 83.7 kB / 327 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.008816, allocations: 35.75 kB / 327.1 MB, free: 5.875 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.009152, allocations: 199.2 kB / 327.3 MB, free: 5.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.009155, allocations: 4 kB / 327.3 MB, free: 5.676 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.009157, allocations: 0 / 327.3 MB, free: 5.676 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.009164, allocations: 0 / 327.3 MB, free: 5.676 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007206/0.009885, allocations: 0.5461 MB / 327.8 MB, free: 5.105 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.009926, allocations: 8.031 kB / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.009992, allocations: 24.91 kB / 327.8 MB, free: 5.074 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.01028, allocations: 254 kB / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.01029, allocations: 384 / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.01032, allocations: 4.375 kB / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.01045, allocations: 62.92 kB / 328.1 MB, free: 4.727 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.01046, allocations: 192 / 328.1 MB, free: 4.727 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.01047, allocations: 4.125 kB / 328.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.01048, allocations: 0 / 328.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.062e-05/0.01052, allocations: 15.92 kB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.0109, allocations: 199.1 kB / 328.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.01107, allocations: 33.38 kB / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.01109, allocations: 12.86 kB / 328.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.0111, allocations: 0 / 328.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.01112, allocations: 46.52 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.01113, allocations: 0 / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002736/0.0114, allocations: 101.5 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.01143, allocations: 59.34 kB / 328.6 MB, free: 4.207 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.01172, allocations: 0.5284 MB / 329.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.01173, allocations: 25.7 kB / 329.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.01179, allocations: 145.3 kB / 329.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.01181, allocations: 15.84 kB / 329.3 MB, free: 3.469 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.01183, allocations: 21.7 kB / 329.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.01193, allocations: 358.7 kB / 329.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-06/0.01194, allocations: 0 / 329.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.171e-05/0.01195, allocations: 12.17 kB / 329.7 MB, free: 3.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.593e-05/0.01198, allocations: 23.69 kB / 329.7 MB, free: 3.043 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01199, allocations: 0 / 329.7 MB, free: 3.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.688e-05/0.01205, allocations: 69.53 kB / 329.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.01207, allocations: 10.19 kB / 329.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.01207, allocations: 0 / 329.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.01208, allocations: 0 / 329.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.942e-05/0.01212, allocations: 15.98 kB / 329.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.01212, allocations: 0 / 329.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.01215, allocations: 4 kB / 329.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.01215, allocations: 0 / 329.8 MB, free: 2.941 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 (5): * Single equations (assignments): 5 * 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.508e-05/0.01222, allocations: 112.7 kB / 329.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.01224, allocations: 27.91 kB / 330 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.01235, allocations: 85.17 kB / 330 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01236, allocations: 0 / 330 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.01236, allocations: 0 / 330 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.01236, allocations: 7.984 kB / 330.1 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.01259, allocations: 274.6 kB / 330.3 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01259, allocations: 0 / 330.3 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-05/0.01262, allocations: 11.98 kB / 330.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01262, allocations: 4 kB / 330.3 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.01263, allocations: 192 / 330.3 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.01263, allocations: 7.938 kB / 330.3 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01263, allocations: 0 / 330.3 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.423e-05/0.01273, allocations: 163.5 kB / 330.5 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.01275, allocations: 31.72 kB / 330.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.01277, allocations: 4 kB / 330.5 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.377e-05/0.0128, allocations: 4 kB / 330.5 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.01282, allocations: 11.92 kB / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.01283, allocations: 0 / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001892/0.01302, allocations: 279.2 kB / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.01302, allocations: 0 / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001519/0.01317, allocations: 27.95 kB / 330.9 MB, free: 1.852 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 (5): * Single equations (assignments): 5 * 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.001151/0.01432, allocations: 0.4989 MB / 331.4 MB, free: 1.617 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.75e-05/0.0144, allocations: 32.78 kB / 331.4 MB, free: 1.582 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.01441, allocations: 8 kB / 331.4 MB, free: 1.574 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.838e-05/0.01442, allocations: 12.86 kB / 331.4 MB, free: 1.559 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.01462, allocations: 40.45 kB / 331.4 MB, free: 1.527 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006365/0.01525, allocations: 0.5751 MB / 332 MB, free: 0.918 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.952e-05/0.01533, allocations: 123.2 kB / 332.1 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.392e-05/0.01537, allocations: 7.984 kB / 332.2 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.53e-05/0.01542, allocations: 59.36 kB / 332.2 MB, free: 0.707 MB / 298.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01542, allocations: 0 / 332.2 MB, free: 0.707 MB / 298.7 MB Notification: Performance of Templates: time 0.00394/0.01936, allocations: 1.459 MB / 333.7 MB, free: 15.26 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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.96226886799559]