Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001276/0.001276, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.0009597/0.0009597, allocations: 167.1 kB / 24.82 MB, free: 9.273 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.9303/0.9303, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2259/0.2259, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.383e-05, allocations: 6.25 kB / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.001848/0.001862, allocations: 1.649 MB / 378.1 MB, free: 2.73 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.002952, allocations: 1.278 MB / 379.4 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.743e-05/0.002999, allocations: 3.938 kB / 379.4 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.003171, allocations: 15.86 kB / 379.4 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.003392, allocations: 91.48 kB / 379.5 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.003563, allocations: 95.62 kB / 379.6 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.00368, allocations: 83.75 kB / 379.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.257e-05/0.003752, allocations: 8 kB / 379.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.449e-05/0.003807, allocations: 43.91 kB / 379.8 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.765e-05/0.003884, allocations: 27.89 kB / 379.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.003898, allocations: 4 kB / 379.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.00401, allocations: 87.83 kB / 379.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.586e-05/0.004046, allocations: 23.92 kB / 379.9 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.00407, allocations: 23.91 kB / 379.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.004238, allocations: 139.4 kB / 380.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.004239, allocations: 0 / 380.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.00424, allocations: 0 / 380.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.004243, allocations: 0 / 380.1 MB, free: 0.8086 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003366/0.00458, allocations: 436 kB / 380.5 MB, free: 356 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.00461, allocations: 12.03 kB / 380.5 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.004639, allocations: 8.891 kB / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.00476, allocations: 150.5 kB / 380.7 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.004768, allocations: 4.375 kB / 380.7 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.004784, allocations: 384 / 380.7 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.004893, allocations: 115.9 kB / 380.8 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.0049, allocations: 4.125 kB / 380.8 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.004908, allocations: 4.125 kB / 380.8 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.004911, allocations: 0 / 380.8 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.681e-05/0.004948, allocations: 15.98 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.005154, allocations: 268.4 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.933e-05/0.005203, allocations: 42.98 kB / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/0.005221, allocations: 19.8 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.005242, allocations: 4 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.005261, allocations: 37.33 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.005262, allocations: 0 / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002815/0.005544, allocations: 121.4 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.005572, allocations: 77.11 kB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.516e-05/0.005667, allocations: 189.9 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.005679, allocations: 33.7 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.005725, allocations: 146.8 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.005745, allocations: 23.75 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.005775, allocations: 35.34 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.005879, allocations: 0.4923 MB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/0.005893, allocations: 7.938 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-05/0.005924, allocations: 53.52 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.761e-05/0.005961, allocations: 35.81 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.005962, allocations: 0 / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.449e-05/0.006037, allocations: 73.58 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.006047, allocations: 6.188 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.006051, allocations: 4.031 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.00606, allocations: 4 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.873e-05/0.006118, allocations: 23.92 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.006121, allocations: 0 / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.08e-05/0.006142, allocations: 4 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.006147, allocations: 0 / 382.5 MB, free: 14.16 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 (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 6.984e-05/0.006217, allocations: 164.6 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.006237, allocations: 11.89 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.006341, allocations: 82.44 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.006342, allocations: 0 / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.006343, allocations: 7.938 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.006346, allocations: 0 / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.006578, allocations: 329.9 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.00658, allocations: 4 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.522e-05/0.006615, allocations: 15.98 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.006618, allocations: 3.984 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.006623, allocations: 0 / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.006624, allocations: 4.172 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006624, allocations: 0 / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.006729, allocations: 227.8 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-06/0.006737, allocations: 11.94 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.006747, allocations: 4 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.431e-05/0.006781, allocations: 0 / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.006803, allocations: 11.98 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.006806, allocations: 0 / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.024e-05/0.006857, allocations: 143.2 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006857, allocations: 0 / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001784/0.007035, allocations: 39.86 kB / 383.5 MB, free: 13.05 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 (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.0008689/0.007904, allocations: 0.4902 MB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.521e-05/0.007979, allocations: 39.64 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.00798, allocations: 0 / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.488e-05/0.008005, allocations: 27.61 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.008193, allocations: 31.86 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002486/0.008442, allocations: 178.3 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.219e-05/0.008474, allocations: 63.34 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.981e-05/0.008514, allocations: 17.02 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.744e-05/0.008581, allocations: 94.19 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008582, allocations: 0 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of Templates: time 0.003234/0.01182, allocations: 2.126 MB / 386.6 MB, free: 10.12 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.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.8110623150132596]