Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.0009993/0.0009993, 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.0009561/0.0009561, allocations: 160.8 kB / 25.61 MB, free: 8.895 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 0.8972/0.8972, allocations: 177.1 MB / 206.1 MB, free: 4.508 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.1358/0.1358, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.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.Test29,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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.808e-05, allocations: 10.19 kB / 379.3 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.001729/0.001747, allocations: 1.698 MB / 381 MB, free: 21.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005494/0.002297, allocations: 0.5374 MB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.457e-05/0.002341, allocations: 4 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.002528, allocations: 63.72 kB / 381.6 MB, free: 21.05 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.002724, allocations: 107.5 kB / 381.7 MB, free: 20.94 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.002905, allocations: 135.6 kB / 381.9 MB, free: 20.81 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.003016, allocations: 91.69 kB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.523e-05/0.003091, allocations: 20.16 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.814e-05/0.003149, allocations: 51.88 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.944e-05/0.003219, allocations: 39.89 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.00323, allocations: 8 kB / 382.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.5e-05/0.003295, allocations: 55.91 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.01e-05/0.003345, allocations: 23.92 kB / 382.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.003362, allocations: 15.92 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.003474, allocations: 103.6 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.432e-06/0.003476, allocations: 0 / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003476, allocations: 0 / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.00348, allocations: 0 / 382.3 MB, free: 20.4 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002629/0.003742, allocations: 447.8 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.571e-05/0.003768, allocations: 12.03 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.003798, allocations: 16.84 kB / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.455e-05/0.003892, allocations: 153.1 kB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.0039, allocations: 4.375 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.003915, allocations: 4.375 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.305e-05/0.003988, allocations: 62.94 kB / 383 MB, free: 19.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.003996, allocations: 4.125 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.004002, allocations: 4.125 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.004008, allocations: 4 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.221e-05/0.00403, allocations: 11.98 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.004205, allocations: 280.2 kB / 383.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.00431, allocations: 47.03 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.385e-05/0.004323, allocations: 15.78 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.004337, allocations: 11.98 kB / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.176e-05/0.004348, allocations: 41.39 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 6.31e-07/0.004349, allocations: 0 / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004159/0.004765, allocations: 213.3 kB / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.004784, allocations: 63.39 kB / 383.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.004862, allocations: 230.8 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.004868, allocations: 25.7 kB / 383.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.872e-05/0.004896, allocations: 158.8 kB / 384 MB, free: 18.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.004917, allocations: 39.67 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.004943, allocations: 27.38 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.845e-05/0.004981, allocations: 0.5039 MB / 384.6 MB, free: 17.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.004997, allocations: 20.48 kB / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.664e-05/0.005014, allocations: 15.92 kB / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.71e-05/0.005051, allocations: 31.69 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.005052, allocations: 0 / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.398e-05/0.005126, allocations: 93.58 kB / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.005134, allocations: 4 kB / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.005138, allocations: 4 kB / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.005146, allocations: 7.938 kB / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.319e-05/0.005199, allocations: 27.91 kB / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.005201, allocations: 0 / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.186e-05/0.005223, allocations: 8 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.005228, allocations: 4 kB / 384.8 MB, free: 17.65 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 (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 3.794e-05/0.005266, allocations: 164.5 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.005288, allocations: 23.89 kB / 385 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.005392, allocations: 99.5 kB / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005394, allocations: 0 / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.005395, allocations: 4 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005397, allocations: 0 / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.005606, allocations: 381.2 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.005607, allocations: 0 / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.415e-05/0.005651, allocations: 27.92 kB / 385.5 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.005653, allocations: 0 / 385.5 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.005659, allocations: 16 kB / 385.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.00566, allocations: 0 / 385.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.005661, allocations: 0 / 385.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.253e-05/0.005754, allocations: 267.1 kB / 385.8 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-06/0.005762, allocations: 11.91 kB / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.005773, allocations: 0 / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.027e-05/0.005813, allocations: 7.984 kB / 385.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.005838, allocations: 15.92 kB / 385.8 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.005843, allocations: 4 kB / 385.8 MB, free: 16.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.603e-05/0.005879, allocations: 163.1 kB / 386 MB, free: 16.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005879, allocations: 4 kB / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001639/0.006043, allocations: 23.94 kB / 386 MB, free: 16.37 MB / 314.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.0008453/0.006888, allocations: 440.6 kB / 386.4 MB, free: 16.1 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.684e-05/0.006975, allocations: 51.59 kB / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.006976, allocations: 0 / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.758e-05/0.007003, allocations: 39.59 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.007202, allocations: 24.39 kB / 386.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002646/0.007466, allocations: 286.6 kB / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.345e-05/0.00749, allocations: 67.34 kB / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.542e-05/0.007525, allocations: 16.47 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/0.007571, allocations: 86.19 kB / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of SimCode: time 4.7e-07/0.007572, allocations: 4 kB / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of Templates: time 0.002716/0.01029, allocations: 1.761 MB / 388.8 MB, free: 13.73 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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.985520239919424]