Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001162/0.001162, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.382/1.382, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2153/0.2153, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.5 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1155, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003767/0.1193, allocations: 1.608 MB / 471.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.121, allocations: 1.035 MB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.311e-05/0.1211, allocations: 4 kB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.1213, allocations: 23.86 kB / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.1216, allocations: 39.78 kB / 472.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004381/0.1221, allocations: 123.6 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.1222, allocations: 63.77 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1224, allocations: 20.17 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.762e-05/0.1224, allocations: 27.92 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.1226, allocations: 27.84 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1226, allocations: 4 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.1227, allocations: 47.98 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.934e-05/0.1228, allocations: 23.91 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.1229, allocations: 23.86 kB / 473 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.1231, allocations: 87.77 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1231, allocations: 7.938 kB / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1231, allocations: 0 / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1231, allocations: 4 kB / 473.1 MB, free: 11.18 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.0005291/0.1237, allocations: 387.6 kB / 473.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1237, allocations: 8.031 kB / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.508e-05/0.1238, allocations: 12.78 kB / 473.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.124, allocations: 184.2 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.124, allocations: 384 / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.124, allocations: 4.375 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.1242, allocations: 79.27 kB / 473.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1243, allocations: 0 / 473.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1243, allocations: 7.984 kB / 473.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1243, allocations: 4 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.1244, allocations: 31.97 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.1248, allocations: 292.7 kB / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.125, allocations: 50.48 kB / 474.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.438e-05/0.1251, allocations: 24.94 kB / 474.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1251, allocations: 0 / 474.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1251, allocations: 30.56 kB / 474.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1251, allocations: 0 / 474.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007712/0.1259, allocations: 201.3 kB / 474.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.126, allocations: 81.09 kB / 474.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.1261, allocations: 136.9 kB / 474.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1261, allocations: 33.64 kB / 474.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.1262, allocations: 100 kB / 474.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.1262, allocations: 19.66 kB / 474.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.1263, allocations: 25.7 kB / 474.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1264, allocations: 314.8 kB / 475.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.1265, allocations: 35.97 kB / 475.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1266, allocations: 45.77 kB / 475.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.1268, allocations: 88.94 kB / 475.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1268, allocations: 0 / 475.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002696/0.1271, allocations: 101.6 kB / 475.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1272, allocations: 12.02 kB / 475.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1272, allocations: 0 / 475.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1272, allocations: 0 / 475.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1273, allocations: 23.98 kB / 475.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1273, allocations: 0 / 475.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.615e-05/0.1274, allocations: 19.92 kB / 475.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1274, allocations: 0 / 475.4 MB, free: 8.637 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 8.452e-05/0.1275, allocations: 117.8 kB / 475.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.1275, allocations: 15.84 kB / 475.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/0.1279, allocations: 118 kB / 475.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1279, allocations: 0 / 475.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1279, allocations: 4 kB / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1279, allocations: 3.938 kB / 475.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005133/0.1284, allocations: 386.5 kB / 476 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1284, allocations: 4 kB / 476 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.584e-05/0.1285, allocations: 15.98 kB / 476.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1286, allocations: 0 / 476.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1286, allocations: 7.938 kB / 476.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1286, allocations: 3.984 kB / 476.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1286, allocations: 0 / 476.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.1289, allocations: 203.4 kB / 476.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.129, allocations: 88.95 kB / 476.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.129, allocations: 3.938 kB / 476.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-05/0.1291, allocations: 11.98 kB / 476.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.1291, allocations: 7.984 kB / 476.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.1291, allocations: 4 kB / 476.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.328e-05/0.1292, allocations: 103.3 kB / 476.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1292, allocations: 0 / 476.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000284/0.1295, allocations: 28 kB / 476.5 MB, free: 7.426 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.001038/0.1306, allocations: 448.4 kB / 476.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003242/0.1309, allocations: 79.88 kB / 477 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.1309, allocations: 4 kB / 477 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.1311, allocations: 39.95 kB / 477.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.1314, allocations: 18.48 kB / 477.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.1319, allocations: 211.8 kB / 477.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.1321, allocations: 0.6885 MB / 478 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.799e-05/0.1322, allocations: 15.42 kB / 478 MB, free: 6.043 MB / 350.1 MB Notification: Performance of SimCode: time 1.853e-06/0.1322, allocations: 0 / 478 MB, free: 6.043 MB / 350.1 MB Notification: Performance of Templates: time 0.003491/0.1357, allocations: 1.722 MB / 479.7 MB, free: 4.328 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches