Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.0009183/0.0009183, allocations: 80.8 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.0009652/0.0009652, allocations: 171.5 kB / 24.91 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.9682/0.9682, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2743/0.2743, allocations: 32.81 MB / 294.6 MB, free: 1.211 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.CombiTable2Ds.Test2,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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/1.993e-05, allocations: 5.438 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002273/0.002293, allocations: 1.745 MB / 325 MB, free: 7.895 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007799/0.003073, allocations: 0.5607 MB / 325.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.003123, allocations: 0 / 325.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004431/0.003566, allocations: 455.1 kB / 326 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.003931, allocations: 287.2 kB / 326.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.004192, allocations: 131.5 kB / 326.5 MB, free: 6.473 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.004392, allocations: 179.6 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.848e-05/0.004471, allocations: 16.61 kB / 326.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.004583, allocations: 127.8 kB / 326.8 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.004743, allocations: 195.6 kB / 327 MB, free: 5.965 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.00476, allocations: 4 kB / 327 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.02e-05/0.00484, allocations: 47.92 kB / 327 MB, free: 5.914 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.552e-05/0.004926, allocations: 83.72 kB / 327.1 MB, free: 5.832 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.004959, allocations: 43.72 kB / 327.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.005158, allocations: 215 kB / 327.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.00516, allocations: 0 / 327.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.00516, allocations: 0 / 327.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.005165, allocations: 0 / 327.3 MB, free: 5.578 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.0004452/0.00561, allocations: 0.55 MB / 327.9 MB, free: 5.004 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.005643, allocations: 8.031 kB / 327.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.005681, allocations: 24.91 kB / 327.9 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.005863, allocations: 246 kB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.005872, allocations: 8.375 kB / 328.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.00589, allocations: 4.375 kB / 328.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.869e-05/0.005979, allocations: 62.88 kB / 328.2 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.005987, allocations: 4.188 kB / 328.2 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-06/0.005995, allocations: 8.125 kB / 328.3 MB, free: 4.613 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.006, allocations: 7.938 kB / 328.3 MB, free: 4.605 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.13e-05/0.006022, allocations: 4 kB / 328.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.006221, allocations: 176.1 kB / 328.4 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.208e-05/0.006263, allocations: 30.56 kB / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/0.006282, allocations: 12.86 kB / 328.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.006298, allocations: 3.938 kB / 328.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.006314, allocations: 30.56 kB / 328.5 MB, free: 4.316 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.006315, allocations: 4 kB / 328.5 MB, free: 4.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004237/0.006738, allocations: 165.6 kB / 328.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.006767, allocations: 51.41 kB / 328.7 MB, free: 4.082 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.00708, allocations: 0.5244 MB / 329.3 MB, free: 3.543 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.007091, allocations: 29.7 kB / 329.3 MB, free: 3.508 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.007148, allocations: 141.2 kB / 329.4 MB, free: 3.363 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.007171, allocations: 31.73 kB / 329.5 MB, free: 3.332 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.007199, allocations: 17.7 kB / 329.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.886e-05/0.007288, allocations: 362.6 kB / 329.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.339e-05/0.007302, allocations: 11.98 kB / 329.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.37e-05/0.007315, allocations: 12 kB / 329.8 MB, free: 2.922 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.229e-05/0.007348, allocations: 24.83 kB / 329.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007349, allocations: 0 / 329.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.083e-05/0.007419, allocations: 73.59 kB / 329.9 MB, free: 2.816 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.007431, allocations: 8 kB / 330 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.007435, allocations: 0 / 330 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.007444, allocations: 0 / 330 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.482e-05/0.007499, allocations: 15.98 kB / 330 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.007501, allocations: 0 / 330 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.447e-05/0.007526, allocations: 8 kB / 330 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.007531, allocations: 0 / 330 MB, free: 2.785 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.497e-05/0.007596, allocations: 120.6 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.007625, allocations: 23.97 kB / 330.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.007734, allocations: 105.8 kB / 330.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.007737, allocations: 432 / 330.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.007738, allocations: 0 / 330.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.007741, allocations: 0 / 330.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.00799, allocations: 307.4 kB / 330.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.007992, allocations: 7.969 kB / 330.5 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.008028, allocations: 23.98 kB / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.00803, allocations: 3.984 kB / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-06/0.008035, allocations: 0 / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.008036, allocations: 0 / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.008037, allocations: 4 kB / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.084e-05/0.008128, allocations: 180.2 kB / 330.7 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.008153, allocations: 39.7 kB / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.008166, allocations: 0 / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.907e-05/0.008205, allocations: 4 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.008229, allocations: 15.98 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.008232, allocations: 0 / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001679/0.0084, allocations: 287.2 kB / 331.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0084, allocations: 0 / 331.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001419/0.008542, allocations: 27.94 kB / 331.1 MB, free: 1.594 MB / 298.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.001173/0.009715, allocations: 0.5793 MB / 331.7 MB, free: 1.324 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.954e-05/0.009785, allocations: 28.84 kB / 331.7 MB, free: 1.293 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.009791, allocations: 4 kB / 331.7 MB, free: 1.289 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.514e-05/0.009816, allocations: 28.78 kB / 331.7 MB, free: 1.258 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.01, allocations: 29.2 kB / 331.8 MB, free: 1.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000555/0.01056, allocations: 0.5983 MB / 332.4 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.25e-05/0.01063, allocations: 119.3 kB / 332.5 MB, free: 472 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.932e-05/0.01067, allocations: 20.7 kB / 332.5 MB, free: 448 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.01072, allocations: 55.38 kB / 332.6 MB, free: 392 kB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01072, allocations: 4 kB / 332.6 MB, free: 388 kB / 298.7 MB Notification: Performance of Templates: time 0.003764/0.01448, allocations: 1.71 MB / 334.3 MB, free: 14.67 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.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.936312592588365]