Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001152/0.001152, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.002029/0.002029, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.083/1.083, allocations: 177.2 MB / 206.1 MB, free: 4.477 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.2236/0.2236, allocations: 32.8 MB / 295.4 MB, free: 15.36 MB / 282.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.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.326e-06/3.326e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.532e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003809/0.003845, allocations: 1.652 MB / 378.9 MB, free: 23.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009927/0.004837, allocations: 0.5181 MB / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.975e-05/0.004917, allocations: 4 kB / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.005254, allocations: 127.6 kB / 379.6 MB, free: 23.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.00562, allocations: 135.4 kB / 379.7 MB, free: 23.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.005945, allocations: 91.64 kB / 379.8 MB, free: 23.03 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.006152, allocations: 99.73 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.006257, allocations: 11.97 kB / 379.9 MB, free: 22.92 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.227e-05/0.00635, allocations: 55.89 kB / 380 MB, free: 22.87 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.006482, allocations: 87.8 kB / 380.1 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.006498, allocations: 4 kB / 380.1 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.888e-05/0.006597, allocations: 43.92 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.425e-05/0.006651, allocations: 27.88 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.006683, allocations: 27.91 kB / 380.2 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.00687, allocations: 103.5 kB / 380.3 MB, free: 22.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.006874, allocations: 0 / 380.3 MB, free: 22.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.006876, allocations: 0 / 380.3 MB, free: 22.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.00688, allocations: 0 / 380.3 MB, free: 22.58 MB / 314.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.0003887/0.007269, allocations: 471.7 kB / 380.7 MB, free: 22.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.00731, allocations: 11.98 kB / 380.7 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.007354, allocations: 16.84 kB / 380.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.007502, allocations: 152.3 kB / 380.9 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.007513, allocations: 384 / 380.9 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.007532, allocations: 4.375 kB / 380.9 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.00764, allocations: 66.92 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.00765, allocations: 192 / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.007658, allocations: 4.125 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.007665, allocations: 0 / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.844e-05/0.007693, allocations: 11.98 kB / 381 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.007955, allocations: 276.3 kB / 381.3 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.661e-05/0.008031, allocations: 43.03 kB / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.008049, allocations: 11.69 kB / 381.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.008069, allocations: 4 kB / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.008088, allocations: 37.33 kB / 381.3 MB, free: 21.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.008089, allocations: 4 kB / 381.3 MB, free: 21.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005581/0.008647, allocations: 161.3 kB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.008672, allocations: 51.41 kB / 381.6 MB, free: 21.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.008833, allocations: 270.7 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.008843, allocations: 25.7 kB / 381.8 MB, free: 20.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.008908, allocations: 174.8 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.008937, allocations: 27.73 kB / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.008984, allocations: 27.36 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.009061, allocations: 0.504 MB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.119e-05/0.009082, allocations: 11.97 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.009102, allocations: 12.06 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.755e-05/0.00915, allocations: 27.67 kB / 382.6 MB, free: 20.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.009152, allocations: 3.938 kB / 382.6 MB, free: 20.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001084/0.00926, allocations: 77.53 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.009274, allocations: 4 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.009281, allocations: 0 / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.009291, allocations: 0 / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.707e-05/0.009378, allocations: 19.98 kB / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.009381, allocations: 0 / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.874e-05/0.00941, allocations: 8 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.009416, allocations: 4 kB / 382.7 MB, free: 19.89 MB / 314.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 5.823e-05/0.009475, allocations: 160.5 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.009509, allocations: 19.91 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.009669, allocations: 87.06 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.009672, allocations: 4 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.009674, allocations: 0 / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.009677, allocations: 0 / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.01001, allocations: 349.5 kB / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.01001, allocations: 4.031 kB / 383.3 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.744e-05/0.01008, allocations: 23.98 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01008, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.01009, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01009, allocations: 3.938 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.0101, allocations: 8.422 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.01023, allocations: 235.8 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.01024, allocations: 15.91 kB / 383.6 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.01026, allocations: 4 kB / 383.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-05/0.01032, allocations: 7.984 kB / 383.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.01035, allocations: 7.984 kB / 383.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.01036, allocations: 7.984 kB / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.648e-05/0.01045, allocations: 184.1 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01045, allocations: 0 / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002571/0.0107, allocations: 23.92 kB / 383.9 MB, free: 18.69 MB / 314.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.001235/0.01194, allocations: 432.1 kB / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.01206, allocations: 39.59 kB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.01206, allocations: 0 / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.544e-05/0.01209, allocations: 39.61 kB / 384.4 MB, free: 18.35 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.01239, allocations: 25.03 kB / 384.4 MB, free: 18.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.01282, allocations: 257.1 kB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.343e-05/0.01287, allocations: 75.19 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.961e-05/0.01292, allocations: 17.09 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.01298, allocations: 82.19 kB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01298, allocations: 0 / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of Templates: time 0.0043/0.01728, allocations: 1.54 MB / 386.3 MB, free: 16.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.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.409148618578911]