Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009573/0.0009573, allocations: 95.94 kB / 17 MB, free: 6.418 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.001196/0.001196, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.519/1.519, allocations: 223.3 MB / 241.9 MB, free: 208 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.2387/0.2387, allocations: 44.25 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.0003221, allocations: 8 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1467, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002803/0.1496, allocations: 1.329 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008831/0.1505, allocations: 411.5 kB / 473.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.1506, allocations: 0 / 473.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.1509, allocations: 51.88 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.1511, allocations: 39.83 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.1515, allocations: 155.1 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.1517, allocations: 71.81 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.1519, allocations: 19.98 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.573e-05/0.152, allocations: 23.86 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.1521, allocations: 39.83 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.1521, allocations: 3.938 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1522, allocations: 35.98 kB / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.756e-05/0.1523, allocations: 23.91 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.1524, allocations: 37.7 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.1525, allocations: 72.17 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.1525, allocations: 0 / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1525, allocations: 3.938 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.1525, allocations: 0 / 473.9 MB, free: 11.37 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.0005334/0.1531, allocations: 395 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.1531, allocations: 8.562 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.1532, allocations: 11.89 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.1534, allocations: 197.1 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1534, allocations: 3.953 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.1535, allocations: 15.92 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.1537, allocations: 73.59 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1537, allocations: 0 / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1537, allocations: 0 / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1537, allocations: 3.938 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.1539, allocations: 51.97 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.1544, allocations: 320.8 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.1546, allocations: 70.55 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.853e-05/0.1547, allocations: 28.97 kB / 475 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.1547, allocations: 0 / 475 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.1548, allocations: 34.56 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 7.52e-07/0.1548, allocations: 0 / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00153/0.1563, allocations: 0.4891 MB / 475.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.1564, allocations: 63.34 kB / 475.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.1566, allocations: 168 kB / 475.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1566, allocations: 29.7 kB / 475.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.1567, allocations: 92.14 kB / 475.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.1568, allocations: 47.38 kB / 476 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-06/0.1568, allocations: 0 / 476 MB, free: 9.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.157, allocations: 322.8 kB / 476.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.1571, allocations: 63.95 kB / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.1573, allocations: 63.91 kB / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.1574, allocations: 72.28 kB / 476.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1574, allocations: 0 / 476.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003687/0.1578, allocations: 181.4 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.1579, allocations: 10.48 kB / 476.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1579, allocations: 0 / 476.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.1579, allocations: 0 / 476.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.158, allocations: 27.98 kB / 476.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.158, allocations: 7.953 kB / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/0.1581, allocations: 19.98 kB / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1581, allocations: 4 kB / 476.7 MB, free: 8.328 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 (11): * Single equations (assignments): 11 * 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.0001322/0.1583, allocations: 125.8 kB / 476.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.1583, allocations: 11.81 kB / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/0.1587, allocations: 202.2 kB / 477 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1588, allocations: 4 kB / 477 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1588, allocations: 4.5 kB / 477.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1588, allocations: 3.953 kB / 477.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006962/0.1595, allocations: 0.5079 MB / 477.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1595, allocations: 4 kB / 477.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.1596, allocations: 27.98 kB / 477.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1596, allocations: 4 kB / 477.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1597, allocations: 3.953 kB / 477.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1597, allocations: 4 kB / 477.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1597, allocations: 0 / 477.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.1601, allocations: 292.9 kB / 477.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.1602, allocations: 93 kB / 478 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.1602, allocations: 0 / 478 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.249e-05/0.1603, allocations: 19.94 kB / 478 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.1603, allocations: 11.98 kB / 478 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.1604, allocations: 4 kB / 478 MB, free: 6.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.1605, allocations: 133.5 kB / 478.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1605, allocations: 0 / 478.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.1608, allocations: 24 kB / 478.2 MB, free: 6.75 MB / 350.1 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 (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.001138/0.1619, allocations: 458.7 kB / 478.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003706/0.1623, allocations: 147.8 kB / 478.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1623, allocations: 3.938 kB / 478.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.1625, allocations: 75.89 kB / 478.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.1628, allocations: 19.52 kB / 478.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007064/0.1635, allocations: 303.3 kB / 479.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.164, allocations: 0.72 MB / 479.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.1641, allocations: 36.36 kB / 479.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.1642, allocations: 15.44 kB / 479.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1642, allocations: 3.938 kB / 479.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of Templates: time 0.004587/0.1688, allocations: 1.458 MB / 481.4 MB, free: 3.656 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches