Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001052, allocations: 108.1 kB / 17.33 MB, free: 6.008 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.001108/0.001108, allocations: 193.3 kB / 18.25 MB, free: 5.098 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.392/1.392, allocations: 222.9 MB / 241.9 MB, free: 15.41 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.2235/0.2235, allocations: 44.17 MB / 336.2 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 62.89 kB / 407.9 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1177, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003316/0.1211, allocations: 1.634 MB / 470.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007441/0.1219, allocations: 407.3 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.1219, allocations: 0 / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005184/0.1225, allocations: 443.2 kB / 471.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.1229, allocations: 259.5 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.1232, allocations: 103.8 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.1235, allocations: 155.8 kB / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1236, allocations: 16 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.1237, allocations: 115.6 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.124, allocations: 211.7 kB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.124, allocations: 0 / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.676e-05/0.1241, allocations: 31.92 kB / 472.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.1242, allocations: 83.64 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.582e-05/0.1243, allocations: 103 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.1246, allocations: 243 kB / 472.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1246, allocations: 0 / 472.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1246, allocations: 0 / 472.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.597e-06/0.1246, allocations: 0 / 472.5 MB, free: 10.95 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000718/0.1253, allocations: 0.6183 MB / 473.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1254, allocations: 12.03 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.276e-05/0.1255, allocations: 44.36 kB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.1257, allocations: 292.2 kB / 473.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1258, allocations: 8.375 kB / 473.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.1258, allocations: 4.375 kB / 473.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.1259, allocations: 53.8 kB / 473.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.126, allocations: 0 / 473.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.126, allocations: 0 / 473.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.126, allocations: 4 kB / 473.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.1261, allocations: 27.97 kB / 473.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.1266, allocations: 380.7 kB / 473.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.1267, allocations: 38.56 kB / 473.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.686e-05/0.1268, allocations: 20.94 kB / 474 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.1268, allocations: 11.97 kB / 474 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.1269, allocations: 30.56 kB / 474 MB, free: 9.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1269, allocations: 4 kB / 474 MB, free: 9.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003302/0.1272, allocations: 117.1 kB / 474.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.1273, allocations: 51.41 kB / 474.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000789/0.1281, allocations: 0.8496 MB / 475 MB, free: 8.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.1281, allocations: 25.7 kB / 475 MB, free: 8.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.1283, allocations: 216 kB / 475.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.1283, allocations: 11.84 kB / 475.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.1283, allocations: 17.72 kB / 475.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1285, allocations: 358.7 kB / 475.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.521e-05/0.1286, allocations: 15.98 kB / 475.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.1286, allocations: 19.98 kB / 475.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.1288, allocations: 32.83 kB / 475.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1288, allocations: 0 / 475.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001851/0.129, allocations: 105.1 kB / 475.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.129, allocations: 4 kB / 475.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.129, allocations: 0 / 475.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.129, allocations: 4 kB / 475.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.1291, allocations: 7.984 kB / 475.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1291, allocations: 0 / 475.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.565e-05/0.1292, allocations: 11.91 kB / 475.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.1292, allocations: 3.938 kB / 475.8 MB, free: 7.359 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 (3): * Single equations (assignments): 3 * 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.0001775/0.1294, allocations: 217.7 kB / 476 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.1294, allocations: 39.53 kB / 476.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.1297, allocations: 120.9 kB / 476.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1297, allocations: 0 / 476.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1297, allocations: 4 kB / 476.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1297, allocations: 4 kB / 476.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.13, allocations: 285.5 kB / 476.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.13, allocations: 0 / 476.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.199e-05/0.1301, allocations: 15.98 kB / 476.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1301, allocations: 0 / 476.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1301, allocations: 0 / 476.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1301, allocations: 0 / 476.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1301, allocations: 0 / 476.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.1303, allocations: 202.9 kB / 476.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.466e-05/0.1304, allocations: 116.6 kB / 476.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.1304, allocations: 432 / 476.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/0.1305, allocations: 4 kB / 476.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.1306, allocations: 3.984 kB / 476.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1306, allocations: 0 / 476.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005896/0.1312, allocations: 0.6472 MB / 477.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.1312, allocations: 0 / 477.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.1314, allocations: 15.94 kB / 477.5 MB, free: 5.598 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 (3): * Single equations (assignments): 3 * 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.0007749/0.1322, allocations: 360 kB / 477.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.1324, allocations: 35.91 kB / 477.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1324, allocations: 0 / 477.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.652e-05/0.1325, allocations: 27.92 kB / 477.9 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.1329, allocations: 21.95 kB / 477.9 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.134, allocations: 0.8497 MB / 478.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.1344, allocations: 0.8143 MB / 479.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.614e-05/0.1345, allocations: 4 kB / 479.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.1345, allocations: 19.42 kB / 479.6 MB, free: 3.547 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1345, allocations: 0 / 479.6 MB, free: 3.547 MB / 350.1 MB Notification: Performance of Templates: time 0.004608/0.1391, allocations: 1.276 MB / 480.9 MB, free: 2.281 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches