Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001189/0.001189, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001576/0.001576, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.022/1.022, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2712/0.2712, allocations: 34.25 MB / 295.7 MB, free: 0.7422 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.751e-05, allocations: 2.312 kB / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003789/0.003817, allocations: 1.717 MB / 379.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.004968, allocations: 0.5724 MB / 380.4 MB, free: 312 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.253e-05/0.005051, allocations: 0 / 380.4 MB, free: 312 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.005346, allocations: 55.67 kB / 380.4 MB, free: 256 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.005722, allocations: 95.53 kB / 380.5 MB, free: 160 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005024/0.006225, allocations: 175.6 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.006434, allocations: 87.64 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.006547, allocations: 16.22 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.006652, allocations: 47.89 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.006762, allocations: 43.88 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.006781, allocations: 4 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.006907, allocations: 55.86 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.907e-05/0.006986, allocations: 23.86 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.007027, allocations: 27.91 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.007258, allocations: 87.66 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.007261, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.007263, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.00727, allocations: 4 kB / 381.1 MB, free: 15.59 MB / 362.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.0005244/0.007794, allocations: 439.9 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.007837, allocations: 8.031 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.152e-05/0.007899, allocations: 28.77 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.008081, allocations: 143.5 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.008093, allocations: 4.375 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.008126, allocations: 8.375 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.008307, allocations: 70.88 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.008319, allocations: 192 / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.008332, allocations: 4.125 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.00834, allocations: 0 / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.826e-05/0.008399, allocations: 11.98 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.008841, allocations: 303.7 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.009053, allocations: 55.02 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.009089, allocations: 19.69 kB / 382.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.009113, allocations: 0 / 382.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.009141, allocations: 37.52 kB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.009142, allocations: 0 / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008731/0.01002, allocations: 245.5 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.01005, allocations: 55.41 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.01022, allocations: 217.8 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.01023, allocations: 29.7 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.01031, allocations: 150.9 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.01036, allocations: 43.58 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003566/0.01071, allocations: 35.31 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.01085, allocations: 0.4961 MB / 383.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-05/0.01089, allocations: 15.98 kB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.686e-05/0.01093, allocations: 15.98 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.154e-05/0.01102, allocations: 51.95 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01102, allocations: 0 / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001663/0.01119, allocations: 97.5 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.01121, allocations: 8 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.01122, allocations: 0 / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.01124, allocations: 3.984 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.286e-05/0.01133, allocations: 23.98 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.01134, allocations: 4 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.58e-05/0.01137, allocations: 4 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.01139, allocations: 0 / 383.6 MB, free: 12.8 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 9.216e-05/0.01148, allocations: 172.4 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.01152, allocations: 15.91 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.01175, allocations: 106.4 kB / 383.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01176, allocations: 0 / 383.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01176, allocations: 0 / 383.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01176, allocations: 0 / 383.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004861/0.01225, allocations: 420.5 kB / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.01225, allocations: 4 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.719e-05/0.01234, allocations: 19.98 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.01235, allocations: 4 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.01236, allocations: 4 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.01236, allocations: 12.19 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.01237, allocations: 7.938 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.0126, allocations: 255.2 kB / 384.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.01262, allocations: 7.953 kB / 384.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.01264, allocations: 4 kB / 384.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.01272, allocations: 11.92 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.01276, allocations: 7.984 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.01277, allocations: 4 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.01287, allocations: 161.6 kB / 384.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01287, allocations: 0 / 384.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002942/0.01317, allocations: 35.88 kB / 384.9 MB, free: 11.47 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.001404/0.01457, allocations: 428.2 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.01476, allocations: 63.53 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.01476, allocations: 4 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.122e-05/0.01482, allocations: 35.61 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.01516, allocations: 31.94 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005903/0.01575, allocations: 264.7 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.978e-05/0.01582, allocations: 79.27 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.394e-05/0.01591, allocations: 24.45 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.01596, allocations: 20.5 kB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01596, allocations: 4 kB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of Templates: time 0.003974/0.01994, allocations: 1.655 MB / 387.5 MB, free: 9 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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: 3.405045230872929]