Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007407/0.0007407, allocations: 92.94 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009247/0.0009248, allocations: 202.1 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.7 MB / 247.5 MB, free: 10.95 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2001/0.2001, allocations: 46.19 MB / 345.9 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002493/0.0002493, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1029, allocations: 63.57 MB / 483.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002016/0.1049, allocations: 1.381 MB / 485.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.106, allocations: 0.573 MB / 485.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.927e-05/0.106, allocations: 0 / 485.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00053/0.1066, allocations: 455.1 kB / 486.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.107, allocations: 279.5 kB / 486.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.1074, allocations: 155.2 kB / 486.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.1077, allocations: 179.6 kB / 486.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1078, allocations: 20.22 kB / 486.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.1079, allocations: 107.7 kB / 486.9 MB, free: 1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.1082, allocations: 203.6 kB / 487.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1082, allocations: 0 / 487.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1083, allocations: 47.98 kB / 487.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.923e-05/0.1084, allocations: 87.62 kB / 487.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.1085, allocations: 132.7 kB / 487.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.1088, allocations: 195.7 kB / 487.5 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1088, allocations: 0 / 487.5 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1088, allocations: 0 / 487.5 MB, free: 348 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1088, allocations: 0 / 487.5 MB, free: 348 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006525/0.1095, allocations: 0.5993 MB / 488.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1095, allocations: 12.03 kB / 488.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.786e-05/0.1096, allocations: 40.38 kB / 488.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.1099, allocations: 300.1 kB / 488.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.1099, allocations: 16.31 kB / 488.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.1099, allocations: 384 / 488.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1101, allocations: 65.8 kB / 488.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1101, allocations: 0 / 488.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1101, allocations: 8 kB / 488.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1101, allocations: 4 kB / 488.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.1102, allocations: 35.91 kB / 488.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.1108, allocations: 416.5 kB / 489 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.1109, allocations: 54.59 kB / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.521e-05/0.111, allocations: 20.94 kB / 489.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.111, allocations: 0 / 489.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.111, allocations: 34.56 kB / 489.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.111, allocations: 3.938 kB / 489.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000992/0.112, allocations: 351.8 kB / 489.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.1121, allocations: 55.34 kB / 489.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008116/0.1129, allocations: 0.866 MB / 490.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.1129, allocations: 29.7 kB / 490.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.1131, allocations: 228 kB / 490.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.1131, allocations: 27.64 kB / 490.6 MB, free: 13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.1131, allocations: 13.72 kB / 490.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1133, allocations: 366.8 kB / 491 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.456e-05/0.1134, allocations: 27.98 kB / 491 MB, free: 12.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.27e-05/0.1135, allocations: 43.89 kB / 491.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.1137, allocations: 80.83 kB / 491.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1137, allocations: 0 / 491.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002657/0.114, allocations: 161.1 kB / 491.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.114, allocations: 4 kB / 491.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.114, allocations: 0 / 491.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.114, allocations: 0 / 491.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.1141, allocations: 19.98 kB / 491.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.1141, allocations: 7.938 kB / 491.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.915e-05/0.1142, allocations: 7.938 kB / 491.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1142, allocations: 4 kB / 491.4 MB, free: 12.26 MB / 366.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 (8): * Single equations (assignments): 8 * 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.0001845/0.1144, allocations: 221.8 kB / 491.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.1145, allocations: 43.44 kB / 491.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003455/0.1148, allocations: 177.8 kB / 491.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1148, allocations: 7.938 kB / 491.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1148, allocations: 3.938 kB / 491.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1148, allocations: 0 / 491.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006477/0.1155, allocations: 0.5265 MB / 492.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1155, allocations: 11.97 kB / 492.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.688e-05/0.1156, allocations: 23.92 kB / 492.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1156, allocations: 0 / 492.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.1156, allocations: 0 / 492.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1156, allocations: 0 / 492.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.1156, allocations: 8 kB / 492.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.1159, allocations: 251.8 kB / 492.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.934e-05/0.116, allocations: 128.4 kB / 492.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.1161, allocations: 0 / 492.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.056e-05/0.1161, allocations: 8 kB / 492.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.1162, allocations: 7.922 kB / 492.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.1162, allocations: 8 kB / 492.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005985/0.1168, allocations: 0.6589 MB / 493.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1168, allocations: 0 / 493.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1171, allocations: 32 kB / 493.5 MB, free: 10.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009997/0.1181, allocations: 446.4 kB / 493.9 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.1183, allocations: 79.95 kB / 494 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1183, allocations: 0 / 494 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.1185, allocations: 51.97 kB / 494 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.1188, allocations: 37.73 kB / 494.1 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.12, allocations: 0.9613 MB / 495 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.1205, allocations: 0.834 MB / 495.9 MB, free: 7.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.1205, allocations: 15.44 kB / 495.9 MB, free: 7.73 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1205, allocations: 0 / 495.9 MB, free: 7.73 MB / 366.1 MB Notification: Performance of Templates: time 0.00713/0.1277, allocations: 3.956 MB / 499.8 MB, free: 3.766 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches