Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 97.05 kB / 16.93 MB, free: 5.797 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.001689/0.001689, allocations: 191.3 kB / 17.86 MB, free: 5.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.1 MB / 223.7 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2156/0.2156, allocations: 43.52 MB / 314.6 MB, free: 0.5391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 70.27 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1061, allocations: 57.78 MB / 441.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003272/0.1094, allocations: 1.611 MB / 442.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006242/0.11, allocations: 339.5 kB / 443.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/0.1101, allocations: 7.938 kB / 443.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.1105, allocations: 71.77 kB / 443.2 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.1107, allocations: 59.8 kB / 443.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.1111, allocations: 154.5 kB / 443.4 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.1113, allocations: 79.81 kB / 443.5 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1114, allocations: 23.88 kB / 443.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.783e-05/0.1115, allocations: 31.91 kB / 443.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.154e-05/0.1116, allocations: 51.81 kB / 443.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.1116, allocations: 4 kB / 443.6 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.631e-05/0.1117, allocations: 35.98 kB / 443.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/0.1118, allocations: 27.91 kB / 443.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.1118, allocations: 27.75 kB / 443.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.112, allocations: 95.7 kB / 443.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.112, allocations: 4 kB / 443.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.112, allocations: 4 kB / 443.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.112, allocations: 0 / 443.8 MB, free: 4.305 MB / 318.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.0004438/0.1124, allocations: 410.9 kB / 444.2 MB, free: 3.855 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1125, allocations: 15.89 kB / 444.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.1125, allocations: 8.844 kB / 444.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.1127, allocations: 197 kB / 444.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-06/0.1127, allocations: 384 / 444.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.1128, allocations: 8.359 kB / 444.4 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1129, allocations: 73.72 kB / 444.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1129, allocations: 0 / 444.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.113, allocations: 0 / 444.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.113, allocations: 0 / 444.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.1131, allocations: 43.91 kB / 444.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.1135, allocations: 320.6 kB / 444.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.1136, allocations: 42.55 kB / 444.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.522e-05/0.1137, allocations: 24.94 kB / 444.9 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1137, allocations: 8 kB / 444.9 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/0.1138, allocations: 34.5 kB / 445 MB, free: 2.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1138, allocations: 0 / 445 MB, free: 2.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007681/0.1145, allocations: 229.1 kB / 445.2 MB, free: 2.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.1146, allocations: 51.41 kB / 445.2 MB, free: 2.688 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.1147, allocations: 204.7 kB / 445.4 MB, free: 2.477 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.1147, allocations: 25.7 kB / 445.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.1148, allocations: 116 kB / 445.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.1148, allocations: 23.7 kB / 445.6 MB, free: 2.305 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.1149, allocations: 21.72 kB / 445.6 MB, free: 2.277 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.787e-05/0.1149, allocations: 322.8 kB / 445.9 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.115, allocations: 39.97 kB / 446 MB, free: 1.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.645e-05/0.1151, allocations: 31.97 kB / 446 MB, free: 1.883 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.1154, allocations: 96.86 kB / 446.1 MB, free: 1.785 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1154, allocations: 0 / 446.1 MB, free: 1.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002459/0.1156, allocations: 121.5 kB / 446.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1157, allocations: 8 kB / 446.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1157, allocations: 4 kB / 446.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1157, allocations: 0 / 446.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1158, allocations: 19.98 kB / 446.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1158, allocations: 0 / 446.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.65e-05/0.1159, allocations: 15.92 kB / 446.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-06/0.1159, allocations: 4 kB / 446.3 MB, free: 1.609 MB / 318.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 6.936e-05/0.116, allocations: 133.7 kB / 446.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.116, allocations: 12.09 kB / 446.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.1163, allocations: 147 kB / 446.5 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1163, allocations: 7.984 kB / 446.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1163, allocations: 4 kB / 446.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1163, allocations: 7.875 kB / 446.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.1168, allocations: 414.9 kB / 447 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1168, allocations: 0 / 447 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.542e-05/0.1169, allocations: 19.92 kB / 447 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1169, allocations: 4 kB / 447 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1169, allocations: 3.938 kB / 447 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1169, allocations: 0 / 447 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1169, allocations: 0 / 447 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.1172, allocations: 227.4 kB / 447.2 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.1172, allocations: 85.02 kB / 447.3 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.1173, allocations: 3.938 kB / 447.3 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.389e-05/0.1173, allocations: 19.92 kB / 447.3 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.1174, allocations: 3.984 kB / 447.3 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.1174, allocations: 4 kB / 447.3 MB, free: 440 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.075e-05/0.1175, allocations: 159.9 kB / 447.5 MB, free: 280 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1175, allocations: 0 / 447.5 MB, free: 280 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.1178, allocations: 16 kB / 447.5 MB, free: 264 kB / 318.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.0008982/0.1187, allocations: 408.8 kB / 447.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003132/0.119, allocations: 87.94 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.119, allocations: 4 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.1191, allocations: 51.89 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.1195, allocations: 19.91 kB / 448.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005424/0.1201, allocations: 288.6 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.1204, allocations: 0.7041 MB / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.1204, allocations: 15.44 kB / 449.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1204, allocations: 0 / 449.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of Templates: time 0.003887/0.1243, allocations: 1.738 MB / 450.8 MB, free: 12.98 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches