Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 95.36 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 181.5 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2345/0.2345, allocations: 44.22 MB / 337.1 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.000323, allocations: 8 kB / 409.5 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1443, allocations: 61.93 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.0019/0.1463, allocations: 1.274 MB / 472.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006212/0.1469, allocations: 363.6 kB / 473.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.147, allocations: 0 / 473.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.1472, allocations: 75.77 kB / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.1474, allocations: 51.86 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.1476, allocations: 79.3 kB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.1477, allocations: 51.86 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1479, allocations: 12.19 kB / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.199e-05/0.1479, allocations: 31.83 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.429e-05/0.148, allocations: 35.91 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.1481, allocations: 0 / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.11e-05/0.1481, allocations: 35.91 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.983e-05/0.1482, allocations: 23.92 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.1482, allocations: 37.64 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.1484, allocations: 63.91 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1484, allocations: 0 / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1484, allocations: 0 / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.1484, allocations: 0 / 473.6 MB, free: 11.64 MB / 350.1 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.0004466/0.1488, allocations: 399.2 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.1489, allocations: 8.562 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.1489, allocations: 19.84 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.1491, allocations: 182.9 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1491, allocations: 4 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.1492, allocations: 7.938 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1493, allocations: 57.62 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1493, allocations: 3.906 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1494, allocations: 0 / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1494, allocations: 4 kB / 474.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.933e-05/0.1495, allocations: 31.97 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.1499, allocations: 296.8 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.15, allocations: 42.56 kB / 474.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.15, allocations: 0 / 474.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.15, allocations: 38.56 kB / 474.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.15, allocations: 0 / 474.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008658/0.1509, allocations: 253.4 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.151, allocations: 51.41 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.1512, allocations: 210.2 kB / 475.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1512, allocations: 29.7 kB / 475.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.1513, allocations: 104 kB / 475.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.1513, allocations: 23.66 kB / 475.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.1514, allocations: 0 / 475.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1515, allocations: 326.8 kB / 475.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.683e-05/0.1516, allocations: 27.98 kB / 475.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.1516, allocations: 35.97 kB / 475.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.088e-05/0.1517, allocations: 28.06 kB / 475.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1517, allocations: 0 / 475.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002144/0.152, allocations: 117.5 kB / 475.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.152, allocations: 7.938 kB / 475.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.152, allocations: 3.938 kB / 475.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.152, allocations: 0 / 475.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.947e-05/0.1521, allocations: 19.98 kB / 475.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1521, allocations: 0 / 475.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.1522, allocations: 8 kB / 475.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1522, allocations: 0 / 475.9 MB, free: 9.129 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.1523, allocations: 137.8 kB / 476 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.1523, allocations: 11.84 kB / 476 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.1526, allocations: 130.6 kB / 476.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1526, allocations: 0 / 476.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1526, allocations: 4 kB / 476.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1526, allocations: 0 / 476.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.1531, allocations: 415.2 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1531, allocations: 0 / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.397e-05/0.1532, allocations: 24.02 kB / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.1532, allocations: 0 / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1532, allocations: 4 kB / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1533, allocations: 4 kB / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1533, allocations: 0 / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.1535, allocations: 225.9 kB / 476.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.1536, allocations: 92.92 kB / 476.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1536, allocations: 4 kB / 476.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.055e-05/0.1537, allocations: 7.984 kB / 476.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.1537, allocations: 7.953 kB / 476.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.1537, allocations: 4 kB / 476.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1539, allocations: 159.2 kB / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1539, allocations: 0 / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.1541, allocations: 20 kB / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/0.1552, allocations: 455.2 kB / 477.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.1555, allocations: 75.89 kB / 477.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1555, allocations: 0 / 477.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.1556, allocations: 44.03 kB / 477.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.1559, allocations: 15.94 kB / 477.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.1565, allocations: 262.4 kB / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.1569, allocations: 0.7082 MB / 478.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.991e-05/0.1569, allocations: 8.969 kB / 478.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.157, allocations: 23.42 kB / 478.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.157, allocations: 0 / 478.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of Templates: time 0.00417/0.1611, allocations: 1.228 MB / 479.9 MB, free: 5.098 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches