Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.001332/0.001332, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001457/0.001457, allocations: 161 kB / 24.56 MB, free: 8 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 0.9683/0.9683, allocations: 177.1 MB / 205 MB, free: 5.605 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.2248/0.2248, allocations: 32.81 MB / 294.3 MB, free: 1.277 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.CombiTable2Dv.Test29,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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.981e-05, allocations: 9.484 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.00199/0.00201, allocations: 1.727 MB / 377.8 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006869/0.002697, allocations: 0.5686 MB / 378.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.002746, allocations: 0 / 378.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.002984, allocations: 75.7 kB / 378.4 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.003223, allocations: 103.5 kB / 378.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.003494, allocations: 175.5 kB / 378.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.003626, allocations: 95.69 kB / 378.8 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.541e-05/0.003712, allocations: 24.2 kB / 378.8 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.877e-05/0.00377, allocations: 43.89 kB / 378.8 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/0.003852, allocations: 51.88 kB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.003867, allocations: 4 kB / 378.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.457e-05/0.003942, allocations: 47.92 kB / 378.9 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.003997, allocations: 31.91 kB / 379 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.004028, allocations: 23.86 kB / 379 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.004176, allocations: 99.59 kB / 379.1 MB, free: 1.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004178, allocations: 0 / 379.1 MB, free: 1.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.004179, allocations: 0 / 379.1 MB, free: 1.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.004183, allocations: 4 kB / 379.1 MB, free: 1.562 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.0003794/0.004562, allocations: 463.8 kB / 379.6 MB, free: 1.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.004592, allocations: 11.97 kB / 379.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.004635, allocations: 16.84 kB / 379.6 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.004763, allocations: 148.9 kB / 379.7 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.004773, allocations: 8.312 kB / 379.7 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.004791, allocations: 4.375 kB / 379.7 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.004902, allocations: 66.94 kB / 379.8 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.004911, allocations: 192 / 379.8 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.00492, allocations: 8.109 kB / 379.8 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.004927, allocations: 4 kB / 379.8 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.552e-05/0.004962, allocations: 15.98 kB / 379.8 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.005263, allocations: 315.6 kB / 380.1 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.005412, allocations: 54.98 kB / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.156e-05/0.005434, allocations: 11.69 kB / 380.2 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.005449, allocations: 96 / 380.2 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.005467, allocations: 37.45 kB / 380.2 MB, free: 296 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 6.91e-07/0.005468, allocations: 0 / 380.2 MB, free: 296 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005518/0.00602, allocations: 245.5 kB / 380.5 MB, free: 44 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.00606, allocations: 59.39 kB / 380.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.006182, allocations: 229.9 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.006194, allocations: 29.7 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.006247, allocations: 158.8 kB / 381 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.006273, allocations: 35.69 kB / 381 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.006308, allocations: 35.31 kB / 381 MB, free: 15.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.006416, allocations: 0.5078 MB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.13e-05/0.006447, allocations: 15.94 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.639e-05/0.006473, allocations: 20.17 kB / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.279e-05/0.006536, allocations: 43.69 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.006537, allocations: 0 / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001075/0.006645, allocations: 101.5 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.006655, allocations: 4 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.006658, allocations: 0 / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.006669, allocations: 0 / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.987e-05/0.006729, allocations: 27.92 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.006733, allocations: 4 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.006758, allocations: 8 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.006766, allocations: 7.984 kB / 381.8 MB, free: 14.7 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 6.122e-05/0.006827, allocations: 160.5 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.00685, allocations: 19.91 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.006999, allocations: 107.5 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.007, allocations: 3.938 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.007003, allocations: 0 / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.007005, allocations: 0 / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.007317, allocations: 432.5 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.007319, allocations: 4 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.007369, allocations: 23.92 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.007372, allocations: 4 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.007379, allocations: 0 / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.007381, allocations: 3.938 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.007384, allocations: 7.984 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.007521, allocations: 259.2 kB / 382.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.007531, allocations: 15.89 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.007543, allocations: 0 / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.137e-05/0.007585, allocations: 12 kB / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.007617, allocations: 11.98 kB / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.007623, allocations: 4 kB / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.455e-05/0.007697, allocations: 172.1 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007697, allocations: 3.938 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001728/0.00787, allocations: 27.94 kB / 383 MB, free: 13.36 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.000847/0.008717, allocations: 433.2 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.008836, allocations: 63.59 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.008837, allocations: 0 / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.313e-05/0.00888, allocations: 39.61 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.009081, allocations: 22.98 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.009448, allocations: 290.4 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.479e-05/0.009493, allocations: 79.33 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.995e-05/0.009543, allocations: 28.58 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.009575, allocations: 16.5 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009575, allocations: 0 / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of Templates: time 0.003266/0.01284, allocations: 1.785 MB / 385.7 MB, free: 10.73 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.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.9946077880449593]