Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 92.62 kB / 18 MB, free: 5.602 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.001589/0.001589, allocations: 178.3 kB / 18.91 MB, free: 4.738 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: 223.3 MB / 243 MB, free: 14.3 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.1904/0.1904, allocations: 44.25 MB / 338.3 MB, free: 2.484 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003294, allocations: 13.38 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1063, allocations: 61.93 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.001902/0.1083, allocations: 1.337 MB / 474.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008085/0.1091, allocations: 443.2 kB / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.1092, allocations: 3.938 kB / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005347/0.1097, allocations: 447.2 kB / 475.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.1101, allocations: 239.6 kB / 475.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.1105, allocations: 163.2 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.1108, allocations: 171.6 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1109, allocations: 19.97 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.1111, allocations: 95.8 kB / 475.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.1113, allocations: 211.5 kB / 476 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.1113, allocations: 0 / 476 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.51e-05/0.1114, allocations: 24 kB / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.1116, allocations: 91.61 kB / 476.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.1117, allocations: 128.7 kB / 476.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.1119, allocations: 172 kB / 476.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1119, allocations: 4 kB / 476.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1119, allocations: 0 / 476.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1119, allocations: 0 / 476.4 MB, free: 9.805 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007028/0.1127, allocations: 0.6028 MB / 477 MB, free: 9.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1127, allocations: 12.03 kB / 477 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.93e-05/0.1128, allocations: 40.38 kB / 477.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.1131, allocations: 300.1 kB / 477.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1131, allocations: 384 / 477.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.1131, allocations: 4.375 kB / 477.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1133, allocations: 73.73 kB / 477.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1133, allocations: 0 / 477.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1134, allocations: 0 / 477.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1134, allocations: 3.938 kB / 477.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.1135, allocations: 47.97 kB / 477.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.1141, allocations: 412.7 kB / 477.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.1142, allocations: 50.5 kB / 477.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.937e-05/0.1143, allocations: 32.94 kB / 478 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1144, allocations: 0 / 478 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.1144, allocations: 34.56 kB / 478 MB, free: 8.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1144, allocations: 0 / 478 MB, free: 8.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008842/0.1153, allocations: 339.8 kB / 478.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.1153, allocations: 55.41 kB / 478.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000775/0.1161, allocations: 0.8535 MB / 479.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.1161, allocations: 25.7 kB / 479.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.1163, allocations: 216 kB / 479.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.1163, allocations: 23.64 kB / 479.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.1164, allocations: 17.72 kB / 479.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1165, allocations: 366.7 kB / 479.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.1166, allocations: 43.95 kB / 479.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.1168, allocations: 47.97 kB / 480 MB, free: 6.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.117, allocations: 117 kB / 480.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1171, allocations: 0 / 480.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003368/0.1174, allocations: 169.1 kB / 480.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1174, allocations: 12 kB / 480.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1174, allocations: 0 / 480.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1175, allocations: 0 / 480.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.1176, allocations: 19.98 kB / 480.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1176, allocations: 7.938 kB / 480.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.425e-05/0.1177, allocations: 15.92 kB / 480.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.1177, allocations: 4 kB / 480.3 MB, free: 5.68 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 (7): * Single equations (assignments): 7 * 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.0001864/0.1179, allocations: 218.2 kB / 480.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.118, allocations: 39.52 kB / 480.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004147/0.1184, allocations: 193.4 kB / 480.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1184, allocations: 4.281 kB / 480.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1184, allocations: 0 / 480.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1184, allocations: 3.938 kB / 480.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006593/0.1191, allocations: 0.5217 MB / 481.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1191, allocations: 3.984 kB / 481.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-05/0.1192, allocations: 23.98 kB / 481.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1192, allocations: 0 / 481.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1192, allocations: 15.92 kB / 481.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.1192, allocations: 0 / 481.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1192, allocations: 0 / 481.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.1196, allocations: 278.9 kB / 481.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.197e-05/0.1197, allocations: 112.5 kB / 481.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.1197, allocations: 3.938 kB / 481.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.1199, allocations: 15.98 kB / 481.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.1199, allocations: 7.984 kB / 481.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1199, allocations: 8 kB / 481.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005749/0.1205, allocations: 0.6433 MB / 482.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1205, allocations: 0 / 482.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1208, allocations: 24 kB / 482.4 MB, free: 3.473 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 (7): * Single equations (assignments): 7 * 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.0009041/0.1217, allocations: 400.5 kB / 482.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003247/0.122, allocations: 115.8 kB / 482.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.122, allocations: 0 / 482.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.1222, allocations: 55.97 kB / 483 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.1226, allocations: 33.77 kB / 483 MB, free: 3.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.1237, allocations: 0.9174 MB / 483.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.1241, allocations: 0.8301 MB / 484.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.1242, allocations: 19.44 kB / 484.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1242, allocations: 4 kB / 484.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of Templates: time 0.00684/0.131, allocations: 3.77 MB / 488.5 MB, free: 13.44 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches