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.00125/0.00125, allocations: 106.9 kB / 17.33 MB, free: 5.996 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.001311/0.001311, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.348/1.348, allocations: 222.9 MB / 241.9 MB, free: 15.41 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.207/0.207, allocations: 44.17 MB / 336.2 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 71.92 kB / 407.9 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.118, allocations: 60.82 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.00282/0.1208, allocations: 1.672 MB / 470.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007053/0.1216, allocations: 451.1 kB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.1216, allocations: 0 / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005157/0.1221, allocations: 455.2 kB / 471.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.1225, allocations: 243.6 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.1228, allocations: 166.9 kB / 471.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.1231, allocations: 167.7 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1232, allocations: 16 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1233, allocations: 115.7 kB / 472 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.1235, allocations: 219.6 kB / 472.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.1236, allocations: 4 kB / 472.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.871e-05/0.1236, allocations: 35.97 kB / 472.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.43e-05/0.1237, allocations: 87.62 kB / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.981e-05/0.1238, allocations: 107 kB / 472.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.1241, allocations: 251.3 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1241, allocations: 0 / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1241, allocations: 0 / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.1241, allocations: 0 / 472.6 MB, free: 10.79 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.0006539/0.1248, allocations: 0.6337 MB / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1248, allocations: 8.031 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.1249, allocations: 52.31 kB / 473.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.1252, allocations: 304.1 kB / 473.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1253, allocations: 8.359 kB / 473.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.1253, allocations: 384 / 473.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.1255, allocations: 61.8 kB / 473.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1255, allocations: 7.984 kB / 473.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.1255, allocations: 0 / 473.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1256, allocations: 0 / 473.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.1257, allocations: 39.97 kB / 473.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004731/0.1262, allocations: 400.6 kB / 474.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.1263, allocations: 50.55 kB / 474.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.965e-05/0.1264, allocations: 24.94 kB / 474.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1264, allocations: 4 kB / 474.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.1264, allocations: 34.56 kB / 474.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1264, allocations: 0 / 474.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008636/0.1273, allocations: 307.9 kB / 474.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.1274, allocations: 55.41 kB / 474.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008984/0.1283, allocations: 0.8535 MB / 475.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1283, allocations: 25.7 kB / 475.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.1285, allocations: 220 kB / 475.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.1285, allocations: 19.66 kB / 475.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.1285, allocations: 21.7 kB / 475.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1287, allocations: 362.7 kB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.1288, allocations: 43.97 kB / 476.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.1289, allocations: 35.95 kB / 476.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.1292, allocations: 88.8 kB / 476.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1292, allocations: 0 / 476.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003002/0.1295, allocations: 153.1 kB / 476.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1295, allocations: 4 kB / 476.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1295, allocations: 0 / 476.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1295, allocations: 3.984 kB / 476.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.1297, allocations: 27.92 kB / 476.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.768e-06/0.1297, allocations: 0 / 476.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.284e-05/0.1298, allocations: 15.92 kB / 476.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1298, allocations: 4 kB / 476.5 MB, free: 6.734 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.13, allocations: 214.2 kB / 476.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/0.13, allocations: 43.44 kB / 476.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003893/0.1304, allocations: 185.7 kB / 476.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1304, allocations: 7.938 kB / 476.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1304, allocations: 0 / 476.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1305, allocations: 7.938 kB / 476.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006334/0.1311, allocations: 0.4946 MB / 477.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1311, allocations: 0 / 477.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.286e-05/0.1312, allocations: 19.98 kB / 477.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1312, allocations: 0 / 477.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1312, allocations: 3.938 kB / 477.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1312, allocations: 4 kB / 477.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1312, allocations: 7.938 kB / 477.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.1316, allocations: 254.9 kB / 477.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/0.1317, allocations: 104.6 kB / 477.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.1317, allocations: 11.92 kB / 477.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1318, allocations: 12 kB / 477.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.1319, allocations: 8.266 kB / 477.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.1319, allocations: 0 / 477.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005939/0.1325, allocations: 0.6472 MB / 478.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1325, allocations: 0 / 478.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.1328, allocations: 27.98 kB / 478.5 MB, free: 4.59 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 (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.0009462/0.1337, allocations: 403.3 kB / 478.9 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003283/0.1341, allocations: 99.84 kB / 479 MB, free: 4.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1341, allocations: 4 kB / 479 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.1342, allocations: 47.91 kB / 479 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.1346, allocations: 21.95 kB / 479.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.1357, allocations: 0.9086 MB / 480 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.1361, allocations: 0.826 MB / 480.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.115e-05/0.1362, allocations: 28.23 kB / 480.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.1362, allocations: 15.42 kB / 480.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1362, allocations: 4 kB / 480.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of Templates: time 0.004712/0.141, allocations: 1.538 MB / 482.4 MB, free: 0.8125 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches