Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 96.67 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 175.2 kB / 16.57 MB, free: 6.848 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.359/1.359, allocations: 205.4 MB / 222.7 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3321/0.3321, allocations: 43.55 MB / 314.5 MB, free: 9.07 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.0004602/0.0004602, allocations: 12 kB / 383.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1079, allocations: 58.86 MB / 442.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.001748/0.1097, allocations: 1.307 MB / 444.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005079/0.1102, allocations: 287.8 kB / 444.3 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.1103, allocations: 4 kB / 444.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.1105, allocations: 55.84 kB / 444.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.1106, allocations: 51.81 kB / 444.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.111, allocations: 135.8 kB / 444.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.1111, allocations: 43.95 kB / 444.6 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.164e-05/0.1112, allocations: 23.89 kB / 444.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.96e-05/0.1113, allocations: 27.86 kB / 444.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.078e-05/0.1114, allocations: 31.91 kB / 444.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1114, allocations: 7.938 kB / 444.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.699e-05/0.1114, allocations: 23.91 kB / 444.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.07e-05/0.1115, allocations: 15.98 kB / 444.8 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.1115, allocations: 37.64 kB / 444.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.1117, allocations: 72.11 kB / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-06/0.1117, allocations: 0 / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1117, allocations: 0 / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1117, allocations: 0 / 444.9 MB, free: 11.16 MB / 382.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.0004197/0.1121, allocations: 406.8 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.1122, allocations: 12.02 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.1122, allocations: 11.86 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.1124, allocations: 194.9 kB / 445.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.1124, allocations: 0 / 445.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1124, allocations: 8 kB / 445.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.1126, allocations: 65.66 kB / 445.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1126, allocations: 0 / 445.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.1126, allocations: 4 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1126, allocations: 0 / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.1128, allocations: 47.92 kB / 445.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.1132, allocations: 316.8 kB / 445.9 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.1133, allocations: 50.55 kB / 446 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1133, allocations: 4.078 kB / 446 MB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.1134, allocations: 34.56 kB / 446 MB, free: 9.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1134, allocations: 0 / 446 MB, free: 9.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008067/0.1142, allocations: 269.4 kB / 446.3 MB, free: 9.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.1142, allocations: 51.41 kB / 446.3 MB, free: 9.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.1145, allocations: 182.2 kB / 446.5 MB, free: 9.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1145, allocations: 33.64 kB / 446.5 MB, free: 9.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.1146, allocations: 108 kB / 446.6 MB, free: 9.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.1146, allocations: 19.66 kB / 446.6 MB, free: 9.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.1146, allocations: 4 kB / 446.7 MB, free: 9.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1148, allocations: 318.8 kB / 447 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.1149, allocations: 51.97 kB / 447 MB, free: 8.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.115, allocations: 52.02 kB / 447.1 MB, free: 8.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.1152, allocations: 47.97 kB / 447.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1152, allocations: 0 / 447.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002891/0.1155, allocations: 145.5 kB / 447.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1155, allocations: 7.953 kB / 447.3 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1155, allocations: 3.938 kB / 447.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1155, allocations: 4 kB / 447.3 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.1157, allocations: 31.91 kB / 447.3 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.1157, allocations: 0 / 447.3 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.75e-05/0.1158, allocations: 23.94 kB / 447.3 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1158, allocations: 3.984 kB / 447.3 MB, free: 8.488 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.169e-05/0.1159, allocations: 117.8 kB / 447.4 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.1159, allocations: 15.81 kB / 447.5 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.1163, allocations: 154.3 kB / 447.6 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-06/0.1163, allocations: 4 kB / 447.6 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1163, allocations: 0 / 447.6 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1163, allocations: 3.984 kB / 447.6 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005474/0.1169, allocations: 430.4 kB / 448 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1169, allocations: 0 / 448 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.414e-05/0.117, allocations: 31.94 kB / 448.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.117, allocations: 0 / 448.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.117, allocations: 0 / 448.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.117, allocations: 0 / 448.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.117, allocations: 0 / 448.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.1174, allocations: 239.3 kB / 448.3 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-05/0.1174, allocations: 92.91 kB / 448.4 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.1175, allocations: 7.953 kB / 448.4 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.872e-05/0.1176, allocations: 19.98 kB / 448.4 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.1176, allocations: 4 kB / 448.4 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.1177, allocations: 0 / 448.4 MB, free: 7.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.1178, allocations: 144.1 kB / 448.6 MB, free: 7.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1178, allocations: 0 / 448.6 MB, free: 7.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1181, allocations: 16 kB / 448.6 MB, free: 7.133 MB / 382.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 (linear and non-linear blocks): 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.1191, allocations: 413.8 kB / 449 MB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003451/0.1194, allocations: 111.9 kB / 449.1 MB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1195, allocations: 0 / 449.1 MB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.1196, allocations: 55.97 kB / 449.1 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.1199, allocations: 12.3 kB / 449.2 MB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.1204, allocations: 261.5 kB / 449.4 MB, free: 6.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.1208, allocations: 0.7121 MB / 450.1 MB, free: 5.562 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.889e-05/0.1209, allocations: 24.64 kB / 450.2 MB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.1209, allocations: 11.44 kB / 450.2 MB, free: 5.527 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1209, allocations: 0 / 450.2 MB, free: 5.527 MB / 382.1 MB Notification: Performance of Templates: time 0.003753/0.1247, allocations: 1.21 MB / 451.4 MB, free: 4.316 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches