Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 95.47 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.001459/0.001459, allocations: 181.1 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.469/1.469, allocations: 223.2 MB / 241.8 MB, free: 404 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.2151/0.2151, allocations: 44.22 MB / 337.1 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004581, allocations: 8 kB / 409.5 MB, free: 27.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1382, allocations: 61.92 MB / 471.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.00195/0.1402, allocations: 1.317 MB / 472.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007205/0.1409, allocations: 391.6 kB / 473.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.496e-05/0.141, allocations: 4 kB / 473.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005505/0.1416, allocations: 435.2 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.1419, allocations: 243.5 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.1423, allocations: 155.2 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.1425, allocations: 127.7 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1427, allocations: 8 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1428, allocations: 103.8 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.143, allocations: 151.7 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.143, allocations: 0 / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.487e-05/0.1431, allocations: 16 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.392e-05/0.1432, allocations: 87.69 kB / 474.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.1433, allocations: 65.5 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.1435, allocations: 188 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.1435, allocations: 0 / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1435, allocations: 3.938 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.1435, allocations: 0 / 474.7 MB, free: 10.52 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.0006994/0.1442, allocations: 0.6066 MB / 475.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1443, allocations: 8.562 kB / 475.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.598e-05/0.1444, allocations: 43.44 kB / 475.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.1447, allocations: 287.3 kB / 475.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.1447, allocations: 0 / 475.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.1447, allocations: 0 / 475.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1449, allocations: 73.61 kB / 475.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1449, allocations: 4 kB / 475.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1449, allocations: 0 / 475.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.145, allocations: 0 / 475.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.1451, allocations: 47.91 kB / 475.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006335/0.1457, allocations: 416.7 kB / 476.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.1459, allocations: 42.56 kB / 476.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.1459, allocations: 96 / 476.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.146, allocations: 50.48 kB / 476.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.146, allocations: 0 / 476.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008567/0.1468, allocations: 331.8 kB / 476.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.1469, allocations: 59.41 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008672/0.1478, allocations: 0.8613 MB / 477.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.1478, allocations: 25.7 kB / 477.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.148, allocations: 212.1 kB / 477.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.148, allocations: 31.7 kB / 477.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.1481, allocations: 0 / 477.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.1482, allocations: 362.8 kB / 478.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.1484, allocations: 51.89 kB / 478.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.1485, allocations: 43.97 kB / 478.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.1486, allocations: 51.97 kB / 478.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1487, allocations: 0 / 478.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003246/0.149, allocations: 173.3 kB / 478.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.149, allocations: 4 kB / 478.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.149, allocations: 7.922 kB / 478.4 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1491, allocations: 3.938 kB / 478.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.1492, allocations: 23.98 kB / 478.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1492, allocations: 4.062 kB / 478.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.558e-05/0.1493, allocations: 19.98 kB / 478.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1493, allocations: 0 / 478.5 MB, free: 6.504 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 (7): * Single equations (assignments): 7 * 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.0001985/0.1495, allocations: 213.7 kB / 478.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.232e-05/0.1496, allocations: 43.44 kB / 478.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004171/0.15, allocations: 205.3 kB / 478.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1501, allocations: 0 / 478.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.1501, allocations: 4 kB / 479 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1501, allocations: 288 / 479 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007262/0.1508, allocations: 0.5179 MB / 479.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1508, allocations: 0 / 479.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.653e-05/0.1509, allocations: 27.98 kB / 479.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.1509, allocations: 7.984 kB / 479.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.151, allocations: 0 / 479.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.151, allocations: 3.938 kB / 479.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.151, allocations: 0 / 479.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.1513, allocations: 274.9 kB / 479.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.45e-05/0.1514, allocations: 112.5 kB / 479.9 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.1514, allocations: 0 / 479.9 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.1516, allocations: 23.98 kB / 479.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.1516, allocations: 3.984 kB / 479.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.1516, allocations: 8 kB / 479.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000565/0.1522, allocations: 0.6511 MB / 480.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1522, allocations: 0 / 480.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1525, allocations: 24 kB / 480.6 MB, free: 4.293 MB / 350.1 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 (7): * Single equations (assignments): 7 * 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.0008928/0.1534, allocations: 409.1 kB / 481 MB, free: 4.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003229/0.1537, allocations: 111.9 kB / 481.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1537, allocations: 0 / 481.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.1538, allocations: 55.97 kB / 481.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.1541, allocations: 25.91 kB / 481.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.1553, allocations: 0.8574 MB / 482 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.1557, allocations: 0.8379 MB / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.659e-05/0.1558, allocations: 24.94 kB / 482.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.1558, allocations: 15.44 kB / 482.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1558, allocations: 3.938 kB / 482.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of Templates: time 0.004622/0.1605, allocations: 1.47 MB / 484.4 MB, free: 0.5938 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches