Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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.0009142/0.0009142, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.0009049/0.0009049, allocations: 166.7 kB / 24.99 MB, free: 8.789 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 1.117/1.117, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2704/0.2704, allocations: 32.81 MB / 294.6 MB, free: 1.301 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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,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.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.967e-05, allocations: 4.281 kB / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.002221/0.002241, allocations: 1.716 MB / 377.7 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006721/0.002913, allocations: 0.553 MB / 378.3 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.002968, allocations: 0 / 378.3 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.003231, allocations: 55.8 kB / 378.3 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.003536, allocations: 99.52 kB / 378.4 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.003844, allocations: 135.5 kB / 378.6 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.004008, allocations: 83.75 kB / 378.7 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.004127, allocations: 12.22 kB / 378.7 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.209e-05/0.004219, allocations: 51.83 kB / 378.7 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.00432, allocations: 39.88 kB / 378.8 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.004338, allocations: 4 kB / 378.8 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.004448, allocations: 51.92 kB / 378.8 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.004531, allocations: 19.92 kB / 378.8 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.004564, allocations: 19.92 kB / 378.9 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.004759, allocations: 95.66 kB / 378.9 MB, free: 2.035 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004761, allocations: 0 / 378.9 MB, free: 2.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004762, allocations: 3.938 kB / 378.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.004766, allocations: 0 / 378.9 MB, free: 2.031 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.0003851/0.005151, allocations: 443.9 kB / 379.4 MB, free: 1.562 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.005192, allocations: 12.03 kB / 379.4 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.005242, allocations: 8.891 kB / 379.4 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.005417, allocations: 147.5 kB / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.005431, allocations: 4.375 kB / 379.6 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.005457, allocations: 8.359 kB / 379.6 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.005607, allocations: 74.88 kB / 379.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.00562, allocations: 192 / 379.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.005631, allocations: 4.125 kB / 379.6 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.005639, allocations: 0 / 379.6 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.016e-05/0.005689, allocations: 15.98 kB / 379.7 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.006048, allocations: 299.6 kB / 379.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.006241, allocations: 54.98 kB / 380 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.006272, allocations: 11.69 kB / 380 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.00629, allocations: 128 / 380 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.006315, allocations: 41.39 kB / 380.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.006316, allocations: 0 / 380.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007667/0.007083, allocations: 245.6 kB / 380.3 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.007121, allocations: 59.41 kB / 380.3 MB, free: 496 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.00729, allocations: 222.5 kB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.007304, allocations: 25.7 kB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.007373, allocations: 150.8 kB / 380.7 MB, free: 68 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.007412, allocations: 43.69 kB / 380.8 MB, free: 24 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/0.007466, allocations: 31.42 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.007572, allocations: 0.5 MB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.874e-05/0.007601, allocations: 8 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.559e-05/0.007626, allocations: 15.98 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.065e-05/0.007687, allocations: 47.62 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.007688, allocations: 0 / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001086/0.007797, allocations: 101.5 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.00781, allocations: 6.031 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.007814, allocations: 0 / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.007827, allocations: 4 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.996e-05/0.007927, allocations: 23.98 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.007932, allocations: 0 / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.953e-05/0.007971, allocations: 4 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.007982, allocations: 7.984 kB / 381.5 MB, free: 15.25 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 8.45e-05/0.008067, allocations: 164.5 kB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.008108, allocations: 15.95 kB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.008317, allocations: 106.4 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.00832, allocations: 4 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.008324, allocations: 4 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.008329, allocations: 0 / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.008764, allocations: 420.5 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.008766, allocations: 0 / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.853e-05/0.008825, allocations: 23.92 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.008833, allocations: 4 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.008845, allocations: 4 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.008851, allocations: 7.938 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.008852, allocations: 192 / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.009056, allocations: 263.8 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.00907, allocations: 7.953 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.00909, allocations: 4 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.251e-05/0.009173, allocations: 15.92 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.009217, allocations: 11.92 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.009226, allocations: 4 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001059/0.009332, allocations: 168 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009332, allocations: 0 / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002936/0.009625, allocations: 23.94 kB / 382.8 MB, free: 13.93 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.001249/0.01087, allocations: 437.5 kB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.01103, allocations: 59.59 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01103, allocations: 0 / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.023e-05/0.01109, allocations: 39.61 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.0114, allocations: 23.98 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.01184, allocations: 264.4 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.407e-05/0.01189, allocations: 71.33 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.017e-05/0.01195, allocations: 16.61 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.012, allocations: 24.48 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.012, allocations: 0 / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of Templates: time 0.003562/0.01556, allocations: 1.58 MB / 385.2 MB, free: 11.54 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.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: 3.354444287950173]