Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001873/0.001873, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001865/0.001865, allocations: 165 kB / 24.56 MB, free: 12 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.01/1.01, allocations: 177.1 MB / 205 MB, free: 5.609 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.2572/0.2572, allocations: 34.26 MB / 295.7 MB, free: 0.7539 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.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.046e-05, allocations: 5.969 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002465/0.002485, allocations: 1.708 MB / 379.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.003662, allocations: 1.289 MB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/0.003706, allocations: 4 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.003872, allocations: 23.78 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.004148, allocations: 87.55 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.004374, allocations: 127.6 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.004486, allocations: 87.69 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.122e-05/0.004547, allocations: 4 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.011e-05/0.004597, allocations: 39.89 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.694e-05/0.004674, allocations: 27.91 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.004686, allocations: 4 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.004804, allocations: 95.81 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.004847, allocations: 23.92 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.004868, allocations: 19.92 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.005037, allocations: 135.5 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005039, allocations: 0 / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.00504, allocations: 0 / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.005044, allocations: 4 kB / 381.7 MB, free: 14.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00035/0.005394, allocations: 431.9 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.005422, allocations: 12.03 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.00546, allocations: 8.891 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.005589, allocations: 144.4 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.005597, allocations: 4.375 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.005613, allocations: 4.375 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.005739, allocations: 108 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.005748, allocations: 192 / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.005759, allocations: 12.12 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.005765, allocations: 0 / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.873e-05/0.005794, allocations: 7.984 kB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000238/0.006032, allocations: 287.6 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.306e-05/0.006095, allocations: 35.06 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.006116, allocations: 23.7 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.006129, allocations: 0 / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.006149, allocations: 37.39 kB / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 5.71e-07/0.006149, allocations: 0 / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003274/0.006477, allocations: 125.7 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.006507, allocations: 81.05 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.006608, allocations: 203.6 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/0.006618, allocations: 25.7 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.172e-05/0.00666, allocations: 142.8 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.006676, allocations: 15.84 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.006703, allocations: 31.38 kB / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.006799, allocations: 0.4923 MB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.006817, allocations: 11.94 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.573e-05/0.006853, allocations: 61.19 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.286e-05/0.006896, allocations: 35.62 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.006896, allocations: 0 / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.316e-05/0.006979, allocations: 73.56 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.006991, allocations: 8 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.006995, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.007005, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.068e-05/0.007076, allocations: 24.02 kB / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.00708, allocations: 0 / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.542e-05/0.007105, allocations: 7.984 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.007112, allocations: 4 kB / 384.1 MB, free: 12.27 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 (7): * Single equations (assignments): 7 * 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 6.039e-05/0.007172, allocations: 160.5 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.007194, allocations: 15.91 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.007303, allocations: 82.33 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.007304, allocations: 0 / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.007307, allocations: 0 / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.00731, allocations: 3.984 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.007522, allocations: 337.4 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.007523, allocations: 0 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.914e-05/0.007562, allocations: 23.92 kB / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.007564, allocations: 0 / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.007569, allocations: 4 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.007571, allocations: 0 / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.007572, allocations: 0 / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.007677, allocations: 228.2 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.007685, allocations: 7.953 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.007697, allocations: 0 / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.856e-05/0.007735, allocations: 12 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.007762, allocations: 7.984 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.007765, allocations: 0 / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.19e-05/0.007817, allocations: 149.5 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007817, allocations: 3.938 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001855/0.008002, allocations: 47.86 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0009536/0.008956, allocations: 480.9 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.949e-05/0.009055, allocations: 47.66 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.009057, allocations: 0 / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.895e-05/0.009086, allocations: 31.75 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.009267, allocations: 27.92 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005453/0.009812, allocations: 186.4 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.372e-05/0.009846, allocations: 68.05 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.836e-05/0.009885, allocations: 11.98 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.009917, allocations: 16.5 kB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009917, allocations: 0 / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of Templates: time 0.003403/0.01332, allocations: 2.165 MB / 388.2 MB, free: 8.246 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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.3522733878344297]