Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 108.3 kB / 18.4 MB, free: 4.59 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.00111/0.00111, allocations: 191 kB / 19.34 MB, free: 3.66 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.335/1.335, allocations: 222.9 MB / 243 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2116/0.2116, allocations: 44.17 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002484/0.002484, allocations: 63.98 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1261, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003741/0.1299, allocations: 1.636 MB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008577/0.1308, allocations: 455 kB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.153e-05/0.1309, allocations: 0 / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005755/0.1315, allocations: 467.1 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.1319, allocations: 239.5 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004484/0.1323, allocations: 178.8 kB / 473.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.1326, allocations: 171.6 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1327, allocations: 23.98 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.1328, allocations: 107.7 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.1331, allocations: 215.6 kB / 474.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.1331, allocations: 4 kB / 474.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.1333, allocations: 43.98 kB / 474.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.1334, allocations: 91.62 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.935e-05/0.1335, allocations: 103 kB / 474.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.1339, allocations: 267 kB / 474.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1339, allocations: 0 / 474.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1339, allocations: 4 kB / 474.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.1339, allocations: 0 / 474.7 MB, free: 9.676 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008627/0.1348, allocations: 0.6375 MB / 475.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.1348, allocations: 8.031 kB / 475.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.339e-05/0.1349, allocations: 44.38 kB / 475.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.1353, allocations: 304.1 kB / 475.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1353, allocations: 4.375 kB / 475.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.1353, allocations: 8.375 kB / 475.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.1356, allocations: 65.73 kB / 475.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.1356, allocations: 0 / 475.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1356, allocations: 0 / 475.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1357, allocations: 0 / 475.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.1358, allocations: 39.91 kB / 475.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005755/0.1364, allocations: 404.6 kB / 476.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.1365, allocations: 46.58 kB / 476.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.027e-05/0.1366, allocations: 20.94 kB / 476.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.1366, allocations: 0 / 476.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.1366, allocations: 34.56 kB / 476.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.625e-06/0.1366, allocations: 4 kB / 476.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001047/0.1377, allocations: 307.8 kB / 476.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.1378, allocations: 55.34 kB / 476.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008346/0.1386, allocations: 0.8613 MB / 477.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.1386, allocations: 29.7 kB / 477.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.1388, allocations: 224 kB / 477.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.1388, allocations: 31.62 kB / 477.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.1389, allocations: 17.72 kB / 477.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.139, allocations: 362.8 kB / 478.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.427e-05/0.1391, allocations: 31.97 kB / 478.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.346e-05/0.1392, allocations: 27.98 kB / 478.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.1393, allocations: 80.75 kB / 478.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1394, allocations: 8 kB / 478.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002356/0.1396, allocations: 137.1 kB / 478.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1396, allocations: 4 kB / 478.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1396, allocations: 0 / 478.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1397, allocations: 4 kB / 478.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.541e-05/0.1398, allocations: 15.98 kB / 478.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1398, allocations: 3.938 kB / 478.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.081e-05/0.1398, allocations: 19.92 kB / 478.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1399, allocations: 7.938 kB / 478.5 MB, free: 5.641 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002106/0.1401, allocations: 209.8 kB / 478.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.1401, allocations: 43.44 kB / 478.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003219/0.1405, allocations: 173.7 kB / 478.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1405, allocations: 4 kB / 478.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1405, allocations: 3.938 kB / 478.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1405, allocations: 0 / 478.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006302/0.1411, allocations: 0.5109 MB / 479.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.487e-06/0.1412, allocations: 7.922 kB / 479.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.847e-05/0.1412, allocations: 19.94 kB / 479.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1412, allocations: 0 / 479.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1414, allocations: 4.031 kB / 479.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.1414, allocations: 7.984 kB / 479.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1414, allocations: 0 / 479.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.1419, allocations: 239.8 kB / 479.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.299e-05/0.142, allocations: 116.5 kB / 479.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.142, allocations: 4 kB / 479.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.1421, allocations: 11.98 kB / 479.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.1422, allocations: 7.938 kB / 479.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1422, allocations: 4 kB / 479.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005949/0.1428, allocations: 0.6511 MB / 480.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.1428, allocations: 0 / 480.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.1431, allocations: 28 kB / 480.5 MB, free: 3.496 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 (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.001098/0.1442, allocations: 466.3 kB / 480.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.1444, allocations: 75.89 kB / 481 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1444, allocations: 0 / 481 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.662e-05/0.1445, allocations: 44.03 kB / 481.1 MB, free: 3.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.145, allocations: 36.86 kB / 481.1 MB, free: 3.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.1461, allocations: 0.8235 MB / 481.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.1465, allocations: 0.8299 MB / 482.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.552e-05/0.1466, allocations: 24.72 kB / 482.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.1466, allocations: 15.44 kB / 482.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1466, allocations: 0 / 482.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of Templates: time 0.006022/0.1526, allocations: 1.732 MB / 484.5 MB, free: 15.59 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches