Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001849/0.001849, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.313/1.313, allocations: 222.9 MB / 242.6 MB, free: 15.44 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.2244/0.2244, allocations: 44.18 MB / 336.9 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 63.2 kB / 408.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1091, allocations: 60.84 MB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003535/0.1127, allocations: 1.625 MB / 471 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008614/0.1136, allocations: 431.3 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.229e-05/0.1137, allocations: 4 kB / 471.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006194/0.1143, allocations: 455.1 kB / 471.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.1148, allocations: 239.6 kB / 472.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.1152, allocations: 158.2 kB / 472.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.1155, allocations: 159.7 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1156, allocations: 16.19 kB / 472.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.1158, allocations: 107.7 kB / 472.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.1161, allocations: 227.5 kB / 472.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.1161, allocations: 4 kB / 472.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.073e-05/0.1162, allocations: 24 kB / 472.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.1163, allocations: 83.69 kB / 472.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.481e-05/0.1164, allocations: 103 kB / 473 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.1167, allocations: 179.7 kB / 473.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1167, allocations: 3.984 kB / 473.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.418e-06/0.1167, allocations: 0 / 473.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1167, allocations: 3.938 kB / 473.2 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.0007928/0.1175, allocations: 0.6222 MB / 473.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1175, allocations: 8.031 kB / 473.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.814e-05/0.1176, allocations: 48.38 kB / 473.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.1179, allocations: 296.1 kB / 474.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1179, allocations: 4.375 kB / 474.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.118, allocations: 4.375 kB / 474.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1181, allocations: 53.61 kB / 474.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1182, allocations: 0 / 474.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1182, allocations: 0 / 474.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.1182, allocations: 7.938 kB / 474.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.1183, allocations: 39.97 kB / 474.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.1189, allocations: 384.8 kB / 474.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.119, allocations: 38.56 kB / 474.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.083e-05/0.1191, allocations: 24.94 kB / 474.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.1191, allocations: 8 kB / 474.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1191, allocations: 38.48 kB / 474.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1192, allocations: 0 / 474.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003497/0.1195, allocations: 125.3 kB / 474.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1196, allocations: 51.41 kB / 474.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008254/0.1204, allocations: 0.8535 MB / 475.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.1204, allocations: 29.7 kB / 475.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.1206, allocations: 208.1 kB / 476 MB, free: 7.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.1206, allocations: 11.91 kB / 476 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.1207, allocations: 9.719 kB / 476 MB, free: 7.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1208, allocations: 370.7 kB / 476.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-05/0.1209, allocations: 11.98 kB / 476.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.234e-05/0.121, allocations: 31.84 kB / 476.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.1211, allocations: 44.83 kB / 476.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1211, allocations: 0 / 476.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002148/0.1213, allocations: 113.1 kB / 476.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1214, allocations: 4 kB / 476.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1214, allocations: 0 / 476.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1214, allocations: 0 / 476.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.1215, allocations: 15.92 kB / 476.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1215, allocations: 3.984 kB / 476.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.599e-05/0.1216, allocations: 11.94 kB / 476.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1216, allocations: 0 / 476.6 MB, free: 7.285 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.000181/0.1218, allocations: 222.2 kB / 476.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/0.1218, allocations: 43.44 kB / 476.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.1221, allocations: 121 kB / 477 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1221, allocations: 0 / 477 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1221, allocations: 4 kB / 477 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1221, allocations: 8 kB / 477 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.1224, allocations: 285.5 kB / 477.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1224, allocations: 0 / 477.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.187e-05/0.1225, allocations: 8 kB / 477.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1225, allocations: 3.984 kB / 477.3 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1225, allocations: 0 / 477.3 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1225, allocations: 4 kB / 477.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1225, allocations: 0 / 477.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.1228, allocations: 202.9 kB / 477.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.1229, allocations: 120.5 kB / 477.6 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.1229, allocations: 0 / 477.6 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.123, allocations: 4 kB / 477.6 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.123, allocations: 3.984 kB / 477.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.123, allocations: 0 / 477.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005809/0.1236, allocations: 0.6472 MB / 478.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1236, allocations: 0 / 478.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1239, allocations: 24 kB / 478.3 MB, free: 5.5 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.0008361/0.1247, allocations: 347.7 kB / 478.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.1249, allocations: 51.91 kB / 478.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1249, allocations: 0 / 478.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.883e-05/0.125, allocations: 19.98 kB / 478.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.1254, allocations: 25.95 kB / 478.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.1266, allocations: 0.8827 MB / 479.6 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.127, allocations: 0.8221 MB / 480.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.1271, allocations: 15.42 kB / 480.4 MB, free: 3.406 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1271, allocations: 0 / 480.4 MB, free: 3.406 MB / 350.1 MB Notification: Performance of Templates: time 0.007001/0.1341, allocations: 3.539 MB / 484 MB, free: 15.87 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches