Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001111/0.001111, allocations: 97.48 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001546/0.001546, allocations: 205.9 kB / 18.94 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.36/1.36, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1951/0.1951, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002844, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1048, allocations: 63.56 MB / 483.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002085/0.1069, allocations: 1.442 MB / 485.2 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.1085, allocations: 0.9863 MB / 486.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.779e-05/0.1086, allocations: 0 / 486.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.1089, allocations: 55.81 kB / 486.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.1092, allocations: 75.75 kB / 486.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.1094, allocations: 59.88 kB / 486.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.1096, allocations: 99.62 kB / 486.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1097, allocations: 12 kB / 486.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1098, allocations: 43.77 kB / 486.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.715e-05/0.1099, allocations: 35.8 kB / 486.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.1099, allocations: 4 kB / 486.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.11, allocations: 43.97 kB / 486.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.653e-05/0.1101, allocations: 27.86 kB / 486.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.1101, allocations: 53.45 kB / 486.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.1103, allocations: 92.08 kB / 486.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1103, allocations: 0 / 486.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1103, allocations: 0 / 486.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1103, allocations: 0 / 486.8 MB, free: 1.105 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004956/0.1108, allocations: 411 kB / 487.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1109, allocations: 8.875 kB / 487.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.1109, allocations: 8.844 kB / 487.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.1112, allocations: 220 kB / 487.4 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1112, allocations: 4.312 kB / 487.4 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.1112, allocations: 12.06 kB / 487.4 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.1114, allocations: 57.67 kB / 487.5 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1114, allocations: 0 / 487.5 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1114, allocations: 0 / 487.5 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.1114, allocations: 0 / 487.5 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.941e-05/0.1115, allocations: 23.98 kB / 487.5 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.1119, allocations: 284.9 kB / 487.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.112, allocations: 62.59 kB / 487.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.231e-05/0.1121, allocations: 20.84 kB / 487.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1121, allocations: 8 kB / 487.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.1123, allocations: 63.39 kB / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1123, allocations: 0 / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005144/0.1128, allocations: 189 kB / 488.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.1129, allocations: 51.41 kB / 488.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.1131, allocations: 202.9 kB / 488.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1131, allocations: 29.7 kB / 488.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/0.1132, allocations: 108.1 kB / 488.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.1132, allocations: 23.7 kB / 488.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.1132, allocations: 21.7 kB / 488.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1133, allocations: 322.8 kB / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.1134, allocations: 23.94 kB / 488.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.345e-05/0.1135, allocations: 37.7 kB / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.1136, allocations: 65.7 kB / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1136, allocations: 0 / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001909/0.1138, allocations: 109.4 kB / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1138, allocations: 4 kB / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1138, allocations: 0 / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1139, allocations: 0 / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.114, allocations: 16 kB / 489.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.114, allocations: 0 / 489.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.091e-05/0.114, allocations: 11.92 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.114, allocations: 4.031 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.611e-05/0.1141, allocations: 137 kB / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.1142, allocations: 7.906 kB / 489.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.398e-05/0.1142, allocations: 21.39 kB / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1142, allocations: 192 / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1142, allocations: 0 / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1142, allocations: 7.875 kB / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.1147, allocations: 399.3 kB / 489.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1147, allocations: 0 / 489.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/0.1147, allocations: 8.375 kB / 489.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1147, allocations: 4 kB / 489.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1147, allocations: 7.938 kB / 489.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1148, allocations: 4 kB / 489.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1148, allocations: 0 / 489.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.115, allocations: 216.1 kB / 489.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.706e-05/0.1151, allocations: 92.92 kB / 490 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.1151, allocations: 3.938 kB / 490 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.1152, allocations: 7.984 kB / 490 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.1152, allocations: 8 kB / 490 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.1152, allocations: 0 / 490 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.1154, allocations: 156.3 kB / 490.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1154, allocations: 0 / 490.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.1156, allocations: 27.98 kB / 490.2 MB, free: 13.32 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001025/0.1167, allocations: 453.4 kB / 490.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.1168, allocations: 63.89 kB / 490.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1169, allocations: 0 / 490.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.905e-05/0.1169, allocations: 31.94 kB / 490.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.1173, allocations: 25.69 kB / 490.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004812/0.1178, allocations: 292 kB / 491 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.1181, allocations: 0.7082 MB / 491.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.1181, allocations: 19.44 kB / 491.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1181, allocations: 3.938 kB / 491.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of Templates: time 0.00377/0.1219, allocations: 1.948 MB / 493.7 MB, free: 9.895 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches