Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001546, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001669/0.001669, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.381/1.381, allocations: 222.9 MB / 242.4 MB, free: 15.36 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.2186/0.2186, allocations: 44.17 MB / 336.8 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 73.33 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1156, allocations: 60.82 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003057/0.1187, allocations: 1.673 MB / 470.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.1201, allocations: 1.011 MB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.925e-05/0.1202, allocations: 0 / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.1204, allocations: 19.92 kB / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.1206, allocations: 43.78 kB / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.1209, allocations: 118.7 kB / 472 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.1211, allocations: 59.78 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.714e-05/0.1212, allocations: 16.19 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.414e-05/0.1212, allocations: 23.91 kB / 472.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.1214, allocations: 31.84 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.1214, allocations: 4 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1215, allocations: 47.97 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.302e-05/0.1216, allocations: 19.86 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.1216, allocations: 15.88 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.1217, allocations: 75.83 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1217, allocations: 0 / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1218, allocations: 0 / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1218, allocations: 4 kB / 472.3 MB, free: 11.67 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.0004955/0.1223, allocations: 383.6 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1223, allocations: 8.031 kB / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.1224, allocations: 8.844 kB / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.1225, allocations: 191.2 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.1226, allocations: 384 / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.1226, allocations: 8.375 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.1228, allocations: 83.25 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1228, allocations: 0 / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1228, allocations: 4 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1228, allocations: 0 / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.123, allocations: 31.97 kB / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.1233, allocations: 288.7 kB / 473.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.1235, allocations: 50.48 kB / 473.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.099e-05/0.1236, allocations: 20.94 kB / 473.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.1236, allocations: 0 / 473.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.1236, allocations: 34.56 kB / 473.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1236, allocations: 4 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007573/0.1244, allocations: 201.2 kB / 473.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.1245, allocations: 81.09 kB / 473.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.1246, allocations: 137.8 kB / 473.8 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.1246, allocations: 29.7 kB / 473.9 MB, free: 9.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.1247, allocations: 104 kB / 474 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.1248, allocations: 19.66 kB / 474 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.1248, allocations: 25.7 kB / 474 MB, free: 9.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1249, allocations: 314.8 kB / 474.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.125, allocations: 31.97 kB / 474.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.1252, allocations: 49.62 kB / 474.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.1254, allocations: 80.86 kB / 474.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1254, allocations: 3.938 kB / 474.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002698/0.1257, allocations: 109.5 kB / 474.6 MB, free: 9.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1257, allocations: 8.031 kB / 474.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1257, allocations: 0 / 474.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1257, allocations: 0 / 474.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1259, allocations: 19.98 kB / 474.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.1259, allocations: 0 / 474.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.07e-05/0.1259, allocations: 19.86 kB / 474.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.126, allocations: 0 / 474.6 MB, free: 9.129 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.728e-05/0.126, allocations: 114.4 kB / 474.7 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.1261, allocations: 11.91 kB / 474.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003125/0.1264, allocations: 118 kB / 474.9 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1264, allocations: 4 kB / 474.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1264, allocations: 0 / 474.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1264, allocations: 3.938 kB / 474.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.1269, allocations: 390.5 kB / 475.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1269, allocations: 0 / 475.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.87e-05/0.127, allocations: 15.98 kB / 475.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.127, allocations: 4 kB / 475.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1271, allocations: 7.922 kB / 475.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1271, allocations: 4 kB / 475.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1271, allocations: 480 / 475.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.1274, allocations: 211.3 kB / 475.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.1274, allocations: 85.3 kB / 475.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.1274, allocations: 7.938 kB / 475.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.45e-05/0.1275, allocations: 11.98 kB / 475.6 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.1276, allocations: 3.984 kB / 475.6 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.1276, allocations: 7.984 kB / 475.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.858e-05/0.1277, allocations: 115.2 kB / 475.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1277, allocations: 0 / 475.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.1279, allocations: 20 kB / 475.7 MB, free: 7.91 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.0009833/0.1289, allocations: 433.6 kB / 476.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.1292, allocations: 83.81 kB / 476.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1293, allocations: 0 / 476.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.1294, allocations: 43.95 kB / 476.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.1298, allocations: 22.14 kB / 476.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.1302, allocations: 225.5 kB / 476.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.1305, allocations: 0.6888 MB / 477.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.1305, allocations: 19.36 kB / 477.2 MB, free: 6.523 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1305, allocations: 0 / 477.2 MB, free: 6.523 MB / 350.1 MB Notification: Performance of Templates: time 0.003362/0.1339, allocations: 1.711 MB / 479 MB, free: 4.816 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches