Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001104/0.001105, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 46.11 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 75.95 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1073, allocations: 62.44 MB / 480.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003179/0.1105, allocations: 1.684 MB / 482.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.1122, allocations: 1.005 MB / 483.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.638e-05/0.1123, allocations: 4 kB / 483.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.1126, allocations: 43.75 kB / 483.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.1129, allocations: 115.5 kB / 483.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.1131, allocations: 67.75 kB / 483.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.1133, allocations: 103.7 kB / 483.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.024e-05/0.1134, allocations: 12.22 kB / 483.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.352e-05/0.1135, allocations: 47.72 kB / 483.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.1136, allocations: 39.84 kB / 483.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.1136, allocations: 0 / 483.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.65e-05/0.1137, allocations: 35.98 kB / 483.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.886e-05/0.1138, allocations: 15.92 kB / 483.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.1139, allocations: 35.75 kB / 483.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.114, allocations: 99.97 kB / 484 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1141, allocations: 7.875 kB / 484 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1141, allocations: 0 / 484 MB, free: 1.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1141, allocations: 0 / 484 MB, free: 1.969 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005125/0.1146, allocations: 403 kB / 484.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1146, allocations: 8.031 kB / 484.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.1147, allocations: 8.844 kB / 484.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.1149, allocations: 212 kB / 484.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1149, allocations: 8.375 kB / 484.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.115, allocations: 8.125 kB / 484.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.1151, allocations: 45.67 kB / 484.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1151, allocations: 0 / 484.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.1151, allocations: 0 / 484.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1151, allocations: 0 / 484.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.233e-05/0.1152, allocations: 19.92 kB / 484.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.1154, allocations: 181.7 kB / 484.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.1156, allocations: 54.61 kB / 484.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.1157, allocations: 20.8 kB / 485 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1157, allocations: 0 / 485 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.1159, allocations: 67.33 kB / 485 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.1159, allocations: 0 / 485 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002771/0.1162, allocations: 97.58 kB / 485.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.1162, allocations: 55.39 kB / 485.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.1164, allocations: 187.2 kB / 485.4 MB, free: 436 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.1164, allocations: 29.7 kB / 485.4 MB, free: 400 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.1165, allocations: 100.1 kB / 485.5 MB, free: 296 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.1165, allocations: 11.81 kB / 485.5 MB, free: 284 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.1166, allocations: 25.7 kB / 485.5 MB, free: 252 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1167, allocations: 314.8 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.917e-05/0.1168, allocations: 19.98 kB / 485.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.644e-05/0.1168, allocations: 33.64 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.154e-05/0.1169, allocations: 37.72 kB / 485.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1169, allocations: 3.984 kB / 485.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001601/0.1171, allocations: 85.47 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1171, allocations: 4.031 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1171, allocations: 4 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1172, allocations: 4.312 kB / 486 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.479e-05/0.1172, allocations: 8 kB / 486 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1172, allocations: 0 / 486 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.851e-05/0.1173, allocations: 15.98 kB / 486 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.1173, allocations: 0 / 486 MB, free: 15.7 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 (7): * Single equations (assignments): 7 * 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.029e-05/0.1174, allocations: 121.8 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.1174, allocations: 11.81 kB / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.1175, allocations: 24.92 kB / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1175, allocations: 4 kB / 486.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1175, allocations: 0 / 486.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1175, allocations: 0 / 486.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.1177, allocations: 185.6 kB / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.1177, allocations: 11.92 kB / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.121e-05/0.1177, allocations: 3.984 kB / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1177, allocations: 0 / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.1177, allocations: 4 kB / 486.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1177, allocations: 0 / 486.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1178, allocations: 0 / 486.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.1179, allocations: 113 kB / 486.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.118, allocations: 85.02 kB / 486.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.118, allocations: 0 / 486.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.506e-05/0.1181, allocations: 0 / 486.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.1181, allocations: 7.984 kB / 486.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1181, allocations: 7.938 kB / 486.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.1182, allocations: 132 kB / 486.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1182, allocations: 4 kB / 486.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.1185, allocations: 23.98 kB / 486.8 MB, free: 14.88 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009286/0.1194, allocations: 400.4 kB / 487.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.1196, allocations: 43.98 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1196, allocations: 0 / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.322e-05/0.1197, allocations: 23.92 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.1199, allocations: 31.83 kB / 487.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.1203, allocations: 223.8 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.1206, allocations: 0.701 MB / 488.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.1207, allocations: 15.44 kB / 488.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1207, allocations: 0 / 488.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of Templates: time 0.003487/0.1242, allocations: 1.702 MB / 489.9 MB, free: 11.82 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches