Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007577/0.0007577, allocations: 97.73 kB / 18.01 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.0009182/0.0009182, allocations: 204.8 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.374/1.374, allocations: 227.7 MB / 247.5 MB, free: 11.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1969/0.1969, allocations: 46.18 MB / 345.9 MB, free: 11.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002507/0.0002507, allocations: 11.98 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1077, allocations: 63.56 MB / 483.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002192/0.11, allocations: 1.532 MB / 485.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.1124, allocations: 1.655 MB / 486.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1125, allocations: 3.938 kB / 486.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.1128, allocations: 39.83 kB / 487 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.1132, allocations: 119.6 kB / 487.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.1134, allocations: 87.78 kB / 487.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.1137, allocations: 191.5 kB / 487.4 MB, free: 500 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.799e-05/0.1138, allocations: 17.62 kB / 487.4 MB, free: 484 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.1139, allocations: 79.56 kB / 487.5 MB, free: 404 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.1142, allocations: 71.62 kB / 487.5 MB, free: 332 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.1142, allocations: 4 kB / 487.5 MB, free: 328 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.1144, allocations: 107.9 kB / 487.6 MB, free: 220 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.1145, allocations: 39.78 kB / 487.7 MB, free: 180 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.943e-05/0.1146, allocations: 85.23 kB / 487.8 MB, free: 88 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.1148, allocations: 168 kB / 487.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1148, allocations: 0 / 487.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1149, allocations: 0 / 487.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1149, allocations: 4 kB / 487.9 MB, free: 15.91 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006433/0.1155, allocations: 470.7 kB / 488.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1156, allocations: 8.875 kB / 488.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/0.1156, allocations: 20.75 kB / 488.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.116, allocations: 256.8 kB / 488.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.116, allocations: 12.36 kB / 488.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.116, allocations: 8.125 kB / 488.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.1162, allocations: 97.08 kB / 488.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1163, allocations: 0 / 488.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.1163, allocations: 4 kB / 488.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.1163, allocations: 0 / 488.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1164, allocations: 35.86 kB / 488.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.1166, allocations: 218.5 kB / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.1169, allocations: 109.2 kB / 489.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.054e-05/0.117, allocations: 41.64 kB / 489.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.1171, allocations: 7.984 kB / 489.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.1173, allocations: 113 kB / 489.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.1173, allocations: 0 / 489.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004309/0.1177, allocations: 165.4 kB / 489.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/0.1178, allocations: 128.5 kB / 489.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.1181, allocations: 241.6 kB / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1181, allocations: 25.7 kB / 489.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.1182, allocations: 116.1 kB / 490 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.1183, allocations: 35.55 kB / 490 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.1183, allocations: 17.72 kB / 490 MB, free: 13.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1184, allocations: 330.8 kB / 490.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.552e-05/0.1185, allocations: 27.98 kB / 490.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.1186, allocations: 73.12 kB / 490.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.1188, allocations: 83.36 kB / 490.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1188, allocations: 0 / 490.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002816/0.1191, allocations: 141.9 kB / 490.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1191, allocations: 7.938 kB / 490.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1191, allocations: 8.062 kB / 490.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1192, allocations: 7.984 kB / 490.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1193, allocations: 20 kB / 490.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1193, allocations: 0 / 490.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.98e-05/0.1194, allocations: 11.89 kB / 490.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1194, allocations: 8 kB / 490.7 MB, free: 12.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001312/0.1195, allocations: 146.2 kB / 490.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.1196, allocations: 19.81 kB / 490.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/0.1196, allocations: 13 kB / 490.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1196, allocations: 4 kB / 490.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1196, allocations: 0 / 490.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1197, allocations: 3.984 kB / 490.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.1198, allocations: 225.5 kB / 491.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1199, allocations: 4 kB / 491.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.1199, allocations: 4 kB / 491.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1199, allocations: 3.938 kB / 491.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1199, allocations: 11.98 kB / 491.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1199, allocations: 0 / 491.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1199, allocations: 0 / 491.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.1202, allocations: 177.6 kB / 491.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.1203, allocations: 100.8 kB / 491.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.1204, allocations: 7.984 kB / 491.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/0.1204, allocations: 12 kB / 491.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.1205, allocations: 7.984 kB / 491.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.1205, allocations: 4 kB / 491.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001744/0.1207, allocations: 180.5 kB / 491.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1207, allocations: 0 / 491.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000285/0.121, allocations: 51.98 kB / 491.7 MB, free: 11.77 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001109/0.1221, allocations: 0.4987 MB / 492.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.1224, allocations: 79.97 kB / 492.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1224, allocations: 4.062 kB / 492.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.1225, allocations: 43.91 kB / 492.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.1229, allocations: 52.2 kB / 492.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.1234, allocations: 344.7 kB / 492.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.1237, allocations: 0.7206 MB / 493.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.623e-05/0.1238, allocations: 31.42 kB / 493.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1238, allocations: 0 / 493.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of Templates: time 0.005365/0.1292, allocations: 3.134 MB / 496.6 MB, free: 6.984 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches