Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 115.4 kB / 17.04 MB, free: 5.812 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.001082/0.001082, allocations: 195 kB / 17.97 MB, free: 5.027 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.481/1.481, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2138/0.2138, allocations: 43.53 MB / 314.7 MB, free: 484 kB / 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.001515/0.001515, allocations: 63.94 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1056, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002649/0.1083, allocations: 1.559 MB / 443.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005178/0.1088, allocations: 335.6 kB / 443.9 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.1089, allocations: 0 / 443.9 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004437/0.1094, allocations: 455.2 kB / 444.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.1096, allocations: 251.5 kB / 444.5 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.1099, allocations: 142.8 kB / 444.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.1101, allocations: 163.7 kB / 444.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1102, allocations: 8 kB / 444.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.407e-05/0.1103, allocations: 107.8 kB / 445 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.1105, allocations: 215.6 kB / 445.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.1105, allocations: 4 kB / 445.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.004e-05/0.1106, allocations: 16 kB / 445.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.699e-05/0.1107, allocations: 83.69 kB / 445.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.396e-05/0.1108, allocations: 99.05 kB / 445.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.111, allocations: 247 kB / 445.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.111, allocations: 0 / 445.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.111, allocations: 0 / 445.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.111, allocations: 0 / 445.6 MB, free: 2.492 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005758/0.1116, allocations: 0.6258 MB / 446.2 MB, free: 1.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1116, allocations: 15.89 kB / 446.3 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.1117, allocations: 40.45 kB / 446.3 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.1119, allocations: 292.2 kB / 446.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1119, allocations: 8.312 kB / 446.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.112, allocations: 384 / 446.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.1121, allocations: 57.8 kB / 446.6 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1121, allocations: 0 / 446.6 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1121, allocations: 4 kB / 446.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1121, allocations: 0 / 446.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.149e-05/0.1122, allocations: 27.92 kB / 446.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.1127, allocations: 380.7 kB / 447 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.585e-05/0.1128, allocations: 30.56 kB / 447.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.487e-05/0.1128, allocations: 24.91 kB / 447.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.1129, allocations: 0 / 447.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.1129, allocations: 34.5 kB / 447.1 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.1129, allocations: 0 / 447.1 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002493/0.1132, allocations: 101.2 kB / 447.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.1132, allocations: 51.41 kB / 447.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006679/0.1139, allocations: 0.8537 MB / 448.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1139, allocations: 33.69 kB / 448.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.1141, allocations: 216.1 kB / 448.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.1141, allocations: 7.906 kB / 448.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.1141, allocations: 13.72 kB / 448.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1143, allocations: 366.7 kB / 448.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.385e-05/0.1144, allocations: 11.98 kB / 448.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-05/0.1144, allocations: 11.98 kB / 448.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.534e-05/0.1145, allocations: 32.84 kB / 448.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1145, allocations: 0 / 448.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001428/0.1147, allocations: 93.11 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1147, allocations: 9.25 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1147, allocations: 0 / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1147, allocations: 0 / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.219e-05/0.1148, allocations: 7.984 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1148, allocations: 0 / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.1149, allocations: 11.97 kB / 448.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1149, allocations: 4 kB / 448.9 MB, free: 14.93 MB / 334.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 (2): * Single equations (assignments): 2 * 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.0001749/0.1151, allocations: 217.6 kB / 449.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/0.1151, allocations: 39.44 kB / 449.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.1153, allocations: 108.6 kB / 449.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1154, allocations: 3.938 kB / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1154, allocations: 4 kB / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1154, allocations: 4.031 kB / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.1157, allocations: 281.5 kB / 449.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1157, allocations: 4 kB / 449.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/0.1157, allocations: 4 kB / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1157, allocations: 3.984 kB / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1158, allocations: 0 / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1158, allocations: 4 kB / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1158, allocations: 0 / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.116, allocations: 191 kB / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.1162, allocations: 112.5 kB / 449.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.1162, allocations: 4 kB / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.705e-05/0.1163, allocations: 0 / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.1163, allocations: 0 / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1163, allocations: 4 kB / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006332/0.117, allocations: 0.6511 MB / 450.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.117, allocations: 0 / 450.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1172, allocations: 12 kB / 450.6 MB, free: 13.21 MB / 334.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 (2): * Single equations (assignments): 2 * 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.0008734/0.1181, allocations: 357.2 kB / 450.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.1183, allocations: 27.97 kB / 450.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1183, allocations: 3.938 kB / 450.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.122e-05/0.1183, allocations: 15.88 kB / 451 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.1187, allocations: 29.95 kB / 451 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009424/0.1197, allocations: 0.7557 MB / 451.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.1201, allocations: 0.822 MB / 452.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.889e-05/0.1202, allocations: 15.97 kB / 452.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.1202, allocations: 11.44 kB / 452.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1202, allocations: 4 kB / 452.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of Templates: time 0.005044/0.1253, allocations: 1.26 MB / 453.9 MB, free: 9.949 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches