Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007889/0.0007888, allocations: 89.89 kB / 18 MB, free: 5.613 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.0008771/0.0008772, allocations: 169.1 kB / 18.9 MB, free: 4.746 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.337/1.337, allocations: 223.3 MB / 243 MB, free: 15.93 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.1891/0.1891, allocations: 44.25 MB / 338.3 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.0003121, allocations: 8.234 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1118, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.001917/0.1138, allocations: 1.345 MB / 474.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007782/0.1146, allocations: 423.3 kB / 474.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.611e-05/0.1147, allocations: 0 / 474.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005232/0.1152, allocations: 451.2 kB / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.1155, allocations: 243.5 kB / 475.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.1159, allocations: 111.8 kB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.1161, allocations: 159.7 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.642e-05/0.1162, allocations: 19.98 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.1164, allocations: 107.7 kB / 475.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.1166, allocations: 195.6 kB / 475.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.1166, allocations: 0 / 475.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1168, allocations: 51.92 kB / 476 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.1169, allocations: 87.67 kB / 476.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.386e-05/0.117, allocations: 120.8 kB / 476.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.1172, allocations: 195.7 kB / 476.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1172, allocations: 0 / 476.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1172, allocations: 4 kB / 476.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1172, allocations: 0 / 476.4 MB, free: 9.84 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.0006474/0.1179, allocations: 0.5875 MB / 477 MB, free: 9.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1179, allocations: 12.03 kB / 477 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.41e-05/0.118, allocations: 44.38 kB / 477 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.1183, allocations: 292.2 kB / 477.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1183, allocations: 4.375 kB / 477.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1183, allocations: 8.375 kB / 477.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.1185, allocations: 57.81 kB / 477.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1185, allocations: 0 / 477.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1185, allocations: 0 / 477.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1185, allocations: 0 / 477.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.1186, allocations: 39.91 kB / 477.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005052/0.1192, allocations: 396.6 kB / 477.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.1193, allocations: 50.59 kB / 477.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.816e-05/0.1194, allocations: 16.86 kB / 477.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1194, allocations: 4 kB / 477.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.1194, allocations: 34.56 kB / 477.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.1194, allocations: 3.938 kB / 477.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009792/0.1204, allocations: 335.8 kB / 478.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.1205, allocations: 55.34 kB / 478.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000814/0.1213, allocations: 0.8613 MB / 479.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1213, allocations: 25.7 kB / 479.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.1215, allocations: 216.1 kB / 479.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.1215, allocations: 31.55 kB / 479.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.1216, allocations: 17.72 kB / 479.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1217, allocations: 358.8 kB / 479.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.021e-05/0.1218, allocations: 39.92 kB / 479.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.069e-05/0.1219, allocations: 23.98 kB / 479.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.1221, allocations: 76.81 kB / 479.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1221, allocations: 0 / 479.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002449/0.1223, allocations: 133.2 kB / 480.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1223, allocations: 4 kB / 480.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1224, allocations: 4 kB / 480.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1224, allocations: 4 kB / 480.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1225, allocations: 27.92 kB / 480.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1225, allocations: 3.938 kB / 480.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.982e-05/0.1226, allocations: 7.984 kB / 480.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.1226, allocations: 4 kB / 480.1 MB, free: 5.879 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.0001815/0.1228, allocations: 210.3 kB / 480.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.1228, allocations: 39.86 kB / 480.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.1232, allocations: 169.5 kB / 480.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.1232, allocations: 0 / 480.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1232, allocations: 3.938 kB / 480.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1232, allocations: 7.969 kB / 480.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006353/0.1238, allocations: 0.5112 MB / 481 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1239, allocations: 3.938 kB / 481 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.039e-05/0.1239, allocations: 16 kB / 481.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1239, allocations: 3.984 kB / 481.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.124, allocations: 0 / 481.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.124, allocations: 8.031 kB / 481.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.124, allocations: 0 / 481.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.1243, allocations: 244 kB / 481.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/0.1244, allocations: 120.5 kB / 481.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.1244, allocations: 3.938 kB / 481.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.289e-05/0.1245, allocations: 7.984 kB / 481.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.1245, allocations: 11.94 kB / 481.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.1246, allocations: 4 kB / 481.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006152/0.1252, allocations: 0.6511 MB / 482.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1252, allocations: 0 / 482.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1255, allocations: 27.94 kB / 482.1 MB, free: 3.738 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.001023/0.1265, allocations: 459.4 kB / 482.6 MB, free: 3.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.1267, allocations: 75.89 kB / 482.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1267, allocations: 0 / 482.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.1268, allocations: 43.97 kB / 482.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.1272, allocations: 25.91 kB / 482.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.1284, allocations: 0.9379 MB / 483.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.1288, allocations: 0.8223 MB / 484.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.1289, allocations: 15.44 kB / 484.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1289, allocations: 0 / 484.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of Templates: time 0.007657/0.1366, allocations: 3.807 MB / 488.3 MB, free: 13.69 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches