Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 111 kB / 17.33 MB, free: 5.988 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.001797/0.001797, 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.376/1.376, allocations: 222.9 MB / 241.9 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.2267/0.2267, allocations: 44.18 MB / 336.2 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 66.5 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1158, allocations: 60.82 MB / 468.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002964/0.1188, allocations: 1.696 MB / 470.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006623/0.1195, allocations: 415.1 kB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/0.1195, allocations: 4 kB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.1198, allocations: 75.83 kB / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.12, allocations: 51.81 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.1203, allocations: 119 kB / 471.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.1204, allocations: 71.83 kB / 471.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.122e-05/0.1205, allocations: 27.92 kB / 471.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.957e-05/0.1206, allocations: 31.91 kB / 471.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.407e-05/0.1206, allocations: 47.83 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1207, allocations: 4 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-05/0.1208, allocations: 55.97 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.725e-05/0.1208, allocations: 19.92 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.1209, allocations: 35.73 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.121, allocations: 119.6 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.121, allocations: 4 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.121, allocations: 0 / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1211, allocations: 0 / 471.5 MB, free: 11.94 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.0005194/0.1216, allocations: 411.3 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1216, allocations: 11.97 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.1217, allocations: 16.75 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.1218, allocations: 204.1 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.1219, allocations: 384 / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.1219, allocations: 4.375 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.122, allocations: 73.73 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.1221, allocations: 0 / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1221, allocations: 4 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1221, allocations: 0 / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.1222, allocations: 35.97 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.1226, allocations: 308.7 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.1228, allocations: 54.55 kB / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.308e-05/0.1229, allocations: 24.97 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.1229, allocations: 0 / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.123, allocations: 38.56 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.123, allocations: 4 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001357/0.1243, allocations: 380.8 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.1244, allocations: 59.34 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1246, allocations: 202.2 kB / 473.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1246, allocations: 25.7 kB / 473.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.1247, allocations: 112 kB / 473.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.1247, allocations: 35.45 kB / 473.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.1248, allocations: 21.72 kB / 473.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1249, allocations: 326.8 kB / 473.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.125, allocations: 39.97 kB / 473.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.1252, allocations: 43.97 kB / 473.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.1254, allocations: 100.8 kB / 473.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1254, allocations: 0 / 473.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002998/0.1257, allocations: 146 kB / 474.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1258, allocations: 6.5 kB / 474.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1258, allocations: 0 / 474.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1258, allocations: 4 kB / 474.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1259, allocations: 31.91 kB / 474.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1259, allocations: 4 kB / 474.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.677e-05/0.126, allocations: 8 kB / 474.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.126, allocations: 7.984 kB / 474.2 MB, free: 9.031 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.0001643/0.1262, allocations: 134.2 kB / 474.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.1262, allocations: 11.81 kB / 474.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.1266, allocations: 166.7 kB / 474.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1266, allocations: 3.938 kB / 474.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1266, allocations: 0 / 474.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1266, allocations: 0 / 474.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006423/0.1273, allocations: 472 kB / 474.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.1273, allocations: 7.984 kB / 474.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.352e-05/0.1274, allocations: 23.98 kB / 475 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1274, allocations: 0 / 475 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1274, allocations: 4 kB / 475 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1274, allocations: 7.938 kB / 475 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1275, allocations: 0 / 475 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.1278, allocations: 257 kB / 475.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.1279, allocations: 85.02 kB / 475.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.1279, allocations: 8 kB / 475.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-05/0.128, allocations: 11.98 kB / 475.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.128, allocations: 15.98 kB / 475.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.1281, allocations: 3.938 kB / 475.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1282, allocations: 151.2 kB / 475.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1282, allocations: 0 / 475.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.1285, allocations: 28 kB / 475.5 MB, free: 7.551 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.001016/0.1295, allocations: 467.1 kB / 476 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003264/0.1298, allocations: 115.8 kB / 476.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1298, allocations: 4 kB / 476.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.13, allocations: 59.91 kB / 476.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.1304, allocations: 23.92 kB / 476.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.131, allocations: 328.2 kB / 476.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.1314, allocations: 0.7119 MB / 477.2 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.869e-05/0.1315, allocations: 20.42 kB / 477.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.1316, allocations: 15.44 kB / 477.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1316, allocations: 0 / 477.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of Templates: time 0.004113/0.1357, allocations: 1.48 MB / 478.7 MB, free: 4.473 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches