Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001243/0.001243, allocations: 77.88 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.001115/0.001115, allocations: 170.9 kB / 24.82 MB, free: 8.938 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.9921/0.9921, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2307/0.2307, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.371e-05, allocations: 6.312 kB / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.005838/0.005861, allocations: 1.705 MB / 378.2 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008144/0.006676, allocations: 0.5374 MB / 378.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.00673, allocations: 0 / 378.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.006966, allocations: 75.77 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003272/0.01024, allocations: 99.47 kB / 378.9 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.01056, allocations: 135.6 kB / 379.1 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.01072, allocations: 95.67 kB / 379.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.031e-05/0.01081, allocations: 12.23 kB / 379.2 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.167e-05/0.0109, allocations: 51.88 kB / 379.2 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.662e-05/0.01099, allocations: 55.86 kB / 379.3 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.01101, allocations: 4 kB / 379.3 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.01111, allocations: 51.92 kB / 379.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.01118, allocations: 23.92 kB / 379.4 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.0112, allocations: 23.91 kB / 379.4 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.01138, allocations: 95.53 kB / 379.5 MB, free: 1.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.01138, allocations: 8 kB / 379.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.01138, allocations: 0 / 379.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.01138, allocations: 4 kB / 379.5 MB, free: 1.398 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.0004062/0.01179, allocations: 447.9 kB / 379.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.01183, allocations: 8.031 kB / 379.9 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.01187, allocations: 16.84 kB / 379.9 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.012, allocations: 149 kB / 380.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.01201, allocations: 4.375 kB / 380.1 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.01203, allocations: 12.34 kB / 380.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.01213, allocations: 58.94 kB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.01214, allocations: 8.141 kB / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.01215, allocations: 8.125 kB / 380.2 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.01216, allocations: 4 kB / 380.2 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.872e-05/0.01219, allocations: 11.98 kB / 380.2 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.01245, allocations: 272.3 kB / 380.5 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.0126, allocations: 47.05 kB / 380.5 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.045e-05/0.01262, allocations: 15.78 kB / 380.5 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.01264, allocations: 11.81 kB / 380.5 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.01266, allocations: 41.38 kB / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.01266, allocations: 0 / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.003654/0.01632, allocations: 213.5 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.01635, allocations: 55.41 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.01649, allocations: 234.2 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.0165, allocations: 29.7 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.01657, allocations: 158.8 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.0166, allocations: 39.67 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.01665, allocations: 27.38 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.01678, allocations: 0.5039 MB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.0168, allocations: 15.92 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.423e-05/0.01683, allocations: 11.98 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.044e-05/0.01689, allocations: 43.62 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01689, allocations: 0 / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001202/0.01701, allocations: 85.91 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.01702, allocations: 11.98 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01703, allocations: 0 / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.01704, allocations: 0 / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.988e-05/0.01712, allocations: 27.92 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-06/0.01712, allocations: 0 / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.137e-05/0.01715, allocations: 8.562 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.01716, allocations: 0 / 382 MB, free: 14.66 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.579e-05/0.01724, allocations: 172.4 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.01727, allocations: 15.91 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.01743, allocations: 123 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.01743, allocations: 0 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.01743, allocations: 0 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01744, allocations: 0 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.01779, allocations: 385.3 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.01779, allocations: 4 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.256e-05/0.01786, allocations: 23.92 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.01786, allocations: 4 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.01787, allocations: 0 / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.01787, allocations: 0 / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01787, allocations: 4 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.01804, allocations: 259 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.01805, allocations: 11.91 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.01807, allocations: 8 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.226e-05/0.01813, allocations: 12.05 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.01816, allocations: 11.92 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.01817, allocations: 4 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.1e-05/0.01824, allocations: 159.1 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01824, allocations: 0 / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002387/0.01848, allocations: 24 kB / 383.2 MB, free: 13.38 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.004056/0.02253, allocations: 427 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.02266, allocations: 59.52 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.02266, allocations: 4 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.312e-05/0.0227, allocations: 39.61 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.02299, allocations: 22.83 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/0.02364, allocations: 273.2 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.886e-05/0.02369, allocations: 71.33 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.25e-05/0.02374, allocations: 24.59 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/0.02382, allocations: 90.19 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02382, allocations: 0 / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of Templates: time 0.006846/0.03066, allocations: 1.734 MB / 385.9 MB, free: 10.76 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.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.9161057751625776]