Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 108.3 kB / 18.4 MB, free: 4.59 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.001517/0.001517, allocations: 191 kB / 19.34 MB, free: 3.66 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.338/1.338, allocations: 222.9 MB / 243 MB, free: 15.15 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.208/0.208, allocations: 44.17 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 60.66 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1145, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003177/0.1177, allocations: 1.635 MB / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007794/0.1185, allocations: 427.1 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.431e-05/0.1186, allocations: 7.938 kB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.1188, allocations: 47.8 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.119, allocations: 47.83 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.1194, allocations: 131.4 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.1196, allocations: 75.75 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1198, allocations: 19.98 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.456e-05/0.1198, allocations: 27.86 kB / 473.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1199, allocations: 43.83 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.12, allocations: 4 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1201, allocations: 51.97 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.785e-05/0.1202, allocations: 27.91 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/0.1202, allocations: 23.81 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.1205, allocations: 107.6 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1205, allocations: 0 / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1205, allocations: 0 / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1205, allocations: 0 / 473.4 MB, free: 10.96 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.0005507/0.1211, allocations: 399.1 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1211, allocations: 8.031 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.1212, allocations: 8.844 kB / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.1214, allocations: 204 kB / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1214, allocations: 384 / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.1215, allocations: 8.375 kB / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.1216, allocations: 65.73 kB / 474 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1216, allocations: 0 / 474 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1217, allocations: 0 / 474 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1217, allocations: 4 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.1218, allocations: 39.95 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.1222, allocations: 300.7 kB / 474.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.1225, allocations: 54.55 kB / 474.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.585e-05/0.1225, allocations: 29.05 kB / 474.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1226, allocations: 7.938 kB / 474.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.1226, allocations: 34.56 kB / 474.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.464e-06/0.1226, allocations: 4 kB / 474.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001376/0.124, allocations: 381.2 kB / 474.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.1241, allocations: 59.34 kB / 474.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.1242, allocations: 165.8 kB / 475.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1242, allocations: 25.7 kB / 475.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.1243, allocations: 100.1 kB / 475.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.1244, allocations: 35.45 kB / 475.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.1244, allocations: 21.72 kB / 475.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1246, allocations: 322.8 kB / 475.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.1247, allocations: 39.97 kB / 475.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.1248, allocations: 43.97 kB / 475.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.125, allocations: 108.7 kB / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.125, allocations: 0 / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003141/0.1254, allocations: 137.8 kB / 475.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1254, allocations: 8 kB / 475.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1254, allocations: 0 / 475.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1254, allocations: 4 kB / 475.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1255, allocations: 31.92 kB / 476 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1256, allocations: 3.938 kB / 476 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/0.1256, allocations: 11.92 kB / 476 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.1256, allocations: 4 kB / 476 MB, free: 8.125 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.1258, allocations: 125.8 kB / 476.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.1258, allocations: 15.81 kB / 476.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003805/0.1262, allocations: 158.3 kB / 476.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1262, allocations: 3.938 kB / 476.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1262, allocations: 0 / 476.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1262, allocations: 0 / 476.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006773/0.1269, allocations: 471.9 kB / 476.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1269, allocations: 4 kB / 476.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.127, allocations: 27.92 kB / 476.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.127, allocations: 0 / 476.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1271, allocations: 8 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1271, allocations: 192 / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.1271, allocations: 4 kB / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.1274, allocations: 253 kB / 477 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.1275, allocations: 89.02 kB / 477.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1275, allocations: 7.938 kB / 477.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.709e-05/0.1276, allocations: 11.98 kB / 477.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.1277, allocations: 11.98 kB / 477.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.1277, allocations: 4 kB / 477.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.761e-05/0.1278, allocations: 129.8 kB / 477.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1278, allocations: 0 / 477.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.128, allocations: 24 kB / 477.3 MB, free: 6.688 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 (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.001022/0.1291, allocations: 453.9 kB / 477.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003277/0.1294, allocations: 111.9 kB / 477.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1294, allocations: 4 kB / 477.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.1296, allocations: 59.84 kB / 477.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.13, allocations: 26.27 kB / 477.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.1305, allocations: 267.9 kB / 478.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.1307, allocations: 0.7081 MB / 478.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.903e-05/0.1308, allocations: 12.42 kB / 478.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.1309, allocations: 15.44 kB / 478.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1309, allocations: 0 / 478.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of Templates: time 0.004104/0.135, allocations: 1.525 MB / 480.5 MB, free: 3.652 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches