Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.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.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008866/0.0008866, allocations: 90.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 200.9 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.7 MB / 247.5 MB, free: 9.691 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1917/0.1917, allocations: 46.19 MB / 345.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002605/0.0002605, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1083, allocations: 63.56 MB / 483.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002124/0.1105, allocations: 1.318 MB / 485 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.1123, allocations: 1.128 MB / 486.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.273e-05/0.1123, allocations: 0 / 486.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.1126, allocations: 27.91 kB / 486.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.1128, allocations: 71.75 kB / 486.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.1131, allocations: 95.2 kB / 486.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.1133, allocations: 63.83 kB / 486.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.584e-05/0.1134, allocations: 8 kB / 486.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.298e-05/0.1134, allocations: 23.86 kB / 486.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.1136, allocations: 35.84 kB / 486.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.1136, allocations: 3.938 kB / 486.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.1138, allocations: 95.88 kB / 486.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.113e-05/0.1139, allocations: 7.984 kB / 486.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.1139, allocations: 49.5 kB / 486.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.1141, allocations: 99.86 kB / 486.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1141, allocations: 3.984 kB / 486.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1142, allocations: 0 / 486.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.1142, allocations: 0 / 486.7 MB, free: 1.113 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004876/0.1147, allocations: 395.5 kB / 487.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1147, allocations: 8.875 kB / 487.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.1148, allocations: 12.84 kB / 487.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.115, allocations: 188.2 kB / 487.3 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.115, allocations: 4.375 kB / 487.3 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.115, allocations: 384 / 487.3 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1152, allocations: 67.53 kB / 487.4 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1152, allocations: 0 / 487.4 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1152, allocations: 4 kB / 487.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1152, allocations: 3.984 kB / 487.4 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.842e-05/0.1153, allocations: 31.92 kB / 487.5 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.1157, allocations: 288.8 kB / 487.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.1159, allocations: 46.56 kB / 487.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.116, allocations: 20.94 kB / 487.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.116, allocations: 4 kB / 487.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.1161, allocations: 38.5 kB / 487.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1161, allocations: 3.938 kB / 487.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005756/0.1167, allocations: 173.3 kB / 488 MB, free: 15.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.1167, allocations: 89.05 kB / 488.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.1169, allocations: 141.8 kB / 488.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1169, allocations: 25.7 kB / 488.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.1169, allocations: 100 kB / 488.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.117, allocations: 7.812 kB / 488.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.117, allocations: 21.7 kB / 488.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.1171, allocations: 318.8 kB / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.749e-05/0.1172, allocations: 23.98 kB / 488.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.238e-05/0.1173, allocations: 45.69 kB / 488.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.1174, allocations: 56.83 kB / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1175, allocations: 4.031 kB / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002034/0.1177, allocations: 97.5 kB / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1177, allocations: 8 kB / 488.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1177, allocations: 0 / 488.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.1177, allocations: 0 / 488.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.909e-05/0.1178, allocations: 15.98 kB / 488.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1178, allocations: 7.938 kB / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.1179, allocations: 4 kB / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1179, allocations: 7.938 kB / 489 MB, free: 14.65 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 (5): * Single equations (assignments): 5 * 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 8.361e-05/0.118, allocations: 113.8 kB / 489.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.118, allocations: 7.906 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.1183, allocations: 113.9 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1183, allocations: 0 / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1183, allocations: 0 / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1183, allocations: 4 kB / 489.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.1187, allocations: 366.5 kB / 489.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1188, allocations: 384 / 489.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.178e-05/0.1188, allocations: 19.98 kB / 489.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1188, allocations: 4 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1188, allocations: 0 / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.1189, allocations: 3.938 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1189, allocations: 3.938 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.1191, allocations: 191.4 kB / 489.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.1192, allocations: 96.94 kB / 489.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.1192, allocations: 0 / 489.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8e-05/0.1193, allocations: 7.938 kB / 489.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.1193, allocations: 7.984 kB / 489.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.1193, allocations: 4 kB / 489.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.725e-05/0.1194, allocations: 113.6 kB / 490 MB, free: 13.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1194, allocations: 0 / 490 MB, free: 13.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002938/0.1197, allocations: 39.98 kB / 490 MB, free: 13.47 MB / 366.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 (5): * Single equations (assignments): 5 * 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.001096/0.1208, allocations: 0.4884 MB / 490.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.1211, allocations: 63.91 kB / 490.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1211, allocations: 0 / 490.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.798e-05/0.1212, allocations: 31.97 kB / 490.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.1215, allocations: 12 kB / 490.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.122, allocations: 222.4 kB / 490.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.1223, allocations: 0.6926 MB / 491.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.781e-05/0.1223, allocations: 23.36 kB / 491.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1223, allocations: 0 / 491.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of Templates: time 0.003975/0.1263, allocations: 1.952 MB / 493.5 MB, free: 10.09 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches