Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001184/0.001184, allocations: 83.58 kB / 21.19 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.001918/0.001918, 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 0.9679/0.9679, allocations: 177.1 MB / 205 MB, free: 5.637 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.2544/0.2544, allocations: 34.26 MB / 295.7 MB, free: 0.7852 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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,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.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.249e-05, allocations: 6.312 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002326/0.002348, allocations: 1.713 MB / 379.8 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008067/0.003155, allocations: 0.5686 MB / 380.4 MB, free: 348 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.145e-05/0.003217, allocations: 0 / 380.4 MB, free: 348 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.003463, allocations: 63.67 kB / 380.4 MB, free: 284 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.003752, allocations: 91.53 kB / 380.5 MB, free: 192 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.004081, allocations: 171.5 kB / 380.7 MB, free: 20 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.004241, allocations: 91.75 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.406e-05/0.004335, allocations: 20.22 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.213e-05/0.004398, allocations: 43.83 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.207e-05/0.00448, allocations: 35.95 kB / 380.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.004495, allocations: 4 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.636e-05/0.004591, allocations: 55.84 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.013e-05/0.004651, allocations: 27.86 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.004683, allocations: 19.92 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.004842, allocations: 95.64 kB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004844, allocations: 0 / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004845, allocations: 4 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.00485, allocations: 4 kB / 381.1 MB, free: 15.62 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.0003891/0.005239, allocations: 439.9 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.005273, allocations: 11.97 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.005318, allocations: 16.84 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.005447, allocations: 143.5 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.005457, allocations: 4.375 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.005488, allocations: 4.375 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.005611, allocations: 66.94 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.00562, allocations: 4.125 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.00563, allocations: 8.125 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.005637, allocations: 0 / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.903e-05/0.005676, allocations: 15.98 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.005995, allocations: 303.7 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.006163, allocations: 55.02 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.639e-05/0.00619, allocations: 19.81 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.006209, allocations: 0 / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.006228, allocations: 33.39 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.006229, allocations: 0 / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000638/0.006867, allocations: 253.5 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.006896, allocations: 51.41 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.007027, allocations: 217.8 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.00704, allocations: 25.7 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.007097, allocations: 150.9 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.007129, allocations: 39.64 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.007168, allocations: 39.31 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.007291, allocations: 0.4961 MB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.36e-05/0.007324, allocations: 15.98 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.784e-05/0.007352, allocations: 15.98 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.265e-05/0.007425, allocations: 47.69 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.007426, allocations: 0 / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001172/0.007543, allocations: 101.8 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.007557, allocations: 8 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.007562, allocations: 0 / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.007577, allocations: 0 / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.757e-05/0.007645, allocations: 23.98 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.007651, allocations: 4 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.367e-05/0.007675, allocations: 4 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.007681, allocations: 0 / 383.6 MB, free: 12.84 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 7.451e-05/0.007755, allocations: 172.4 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.007782, allocations: 23.89 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.007946, allocations: 98.44 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.007948, allocations: 0 / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.007952, allocations: 0 / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.007955, allocations: 0 / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.008295, allocations: 428.5 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.008297, allocations: 4 kB / 384.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.008349, allocations: 19.98 kB / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.008356, allocations: 4 kB / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.008365, allocations: 192 / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.008369, allocations: 11.94 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.00837, allocations: 0 / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.00852, allocations: 259.1 kB / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.008532, allocations: 15.94 kB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.008546, allocations: 4.062 kB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.294e-05/0.008588, allocations: 11.92 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.008626, allocations: 11.98 kB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.008632, allocations: 4 kB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.608e-05/0.008698, allocations: 161.6 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008698, allocations: 3.938 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.008873, allocations: 24 kB / 384.9 MB, free: 11.51 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.0008947/0.009768, allocations: 427.9 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.009899, allocations: 67.59 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.009901, allocations: 0 / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.399e-05/0.009945, allocations: 39.61 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.01018, allocations: 28.16 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.01058, allocations: 260.5 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.895e-05/0.01063, allocations: 79.33 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.562e-05/0.01069, allocations: 28.58 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.01072, allocations: 20.48 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01072, allocations: 0 / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of Templates: time 0.003451/0.01418, allocations: 1.654 MB / 387.5 MB, free: 9.043 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.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.265349003020674]