Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.0008872/0.0008872, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.000862/0.000862, allocations: 168.8 kB / 24.82 MB, free: 8.871 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.9186/0.9186, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2286/0.2286, allocations: 32.8 MB / 294.6 MB, free: 1.254 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.498e-05, allocations: 2.312 kB / 376.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.002277/0.002292, allocations: 1.711 MB / 378.2 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000809/0.003101, allocations: 0.5413 MB / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.05e-05/0.003171, allocations: 0 / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.003468, allocations: 47.75 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.003786, allocations: 99.52 kB / 378.9 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.004066, allocations: 127.6 kB / 379 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.004249, allocations: 87.69 kB / 379.1 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.004365, allocations: 16.22 kB / 379.1 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.889e-05/0.004453, allocations: 47.88 kB / 379.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.004557, allocations: 39.89 kB / 379.2 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.004576, allocations: 4 kB / 379.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.604e-05/0.004672, allocations: 47.92 kB / 379.3 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.463e-05/0.004747, allocations: 19.92 kB / 379.3 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.004774, allocations: 23.91 kB / 379.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.004924, allocations: 99.59 kB / 379.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.352e-06/0.004926, allocations: 0 / 379.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004926, allocations: 0 / 379.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.00493, allocations: 0 / 379.4 MB, free: 1.453 MB / 346.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.0004546/0.005385, allocations: 432 kB / 379.8 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.005438, allocations: 12.03 kB / 379.8 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.00548, allocations: 12.84 kB / 379.8 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.005634, allocations: 148.9 kB / 380 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.005646, allocations: 384 / 380 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.005669, allocations: 8.375 kB / 380 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.005802, allocations: 66.69 kB / 380.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.005814, allocations: 4 kB / 380.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.005823, allocations: 4 kB / 380.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.005829, allocations: 0 / 380.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.211e-05/0.005861, allocations: 15.92 kB / 380.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.006182, allocations: 264.3 kB / 380.3 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.006357, allocations: 59 kB / 380.4 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.006379, allocations: 15.67 kB / 380.4 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.00641, allocations: 8 kB / 380.4 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.006436, allocations: 37.39 kB / 380.5 MB, free: 272 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.006438, allocations: 4 kB / 380.5 MB, free: 268 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005325/0.00697, allocations: 217.4 kB / 380.7 MB, free: 44 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.007016, allocations: 55.41 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.007136, allocations: 212.8 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.007149, allocations: 29.7 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.007214, allocations: 150.8 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.007243, allocations: 43.69 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.007278, allocations: 35.34 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.007412, allocations: 0.4922 MB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.00743, allocations: 12 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.814e-05/0.007448, allocations: 11.98 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.869e-05/0.007497, allocations: 43.94 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.007497, allocations: 0 / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.77e-05/0.007585, allocations: 93.52 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.007597, allocations: 4 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.007602, allocations: 3.938 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.007614, allocations: 4 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.547e-05/0.00767, allocations: 23.98 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.007672, allocations: 0 / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.007693, allocations: 4 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.007702, allocations: 11.92 kB / 381.9 MB, free: 14.76 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 (11): * Single equations (assignments): 11 * 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 7.448e-05/0.007776, allocations: 156.6 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.007799, allocations: 15.95 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.007926, allocations: 106.9 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.007927, allocations: 0 / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.007929, allocations: 0 / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.007932, allocations: 4 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.00824, allocations: 385.2 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.008242, allocations: 0 / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.008288, allocations: 27.98 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.008291, allocations: 0 / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.008298, allocations: 4 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.0083, allocations: 0 / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.008301, allocations: 3.938 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.00845, allocations: 259.1 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-06/0.00846, allocations: 15.97 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.008471, allocations: 0 / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.018e-05/0.008511, allocations: 11.98 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.008544, allocations: 11.92 kB / 382.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.008552, allocations: 4 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.242e-05/0.008624, allocations: 161.4 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008624, allocations: 0 / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00017/0.008794, allocations: 23.94 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008649/0.009659, allocations: 438.4 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.009771, allocations: 51.59 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.009773, allocations: 4 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.302e-05/0.009806, allocations: 31.61 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.01003, allocations: 31.11 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.0104, allocations: 248 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.305e-05/0.01045, allocations: 75.28 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.216e-05/0.01049, allocations: 20.59 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.92e-05/0.01056, allocations: 86.19 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01056, allocations: 0 / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of Templates: time 0.003017/0.01358, allocations: 1.743 MB / 385.8 MB, free: 10.91 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.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.837964260019362]