Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001078/0.001078, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2012/0.2012, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 79.03 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.104, allocations: 62.45 MB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002917/0.1069, allocations: 1.735 MB / 483.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.1084, allocations: 1.025 MB / 484.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.547e-05/0.1085, allocations: 3.938 kB / 484.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.1088, allocations: 91.69 kB / 484.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.1091, allocations: 115.6 kB / 484.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.1093, allocations: 83.66 kB / 484.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.1095, allocations: 127.7 kB / 484.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.1097, allocations: 15.98 kB / 484.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.005e-05/0.1098, allocations: 59.75 kB / 484.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1099, allocations: 63.75 kB / 484.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1099, allocations: 4 kB / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.11, allocations: 63.92 kB / 484.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.563e-05/0.1101, allocations: 19.92 kB / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.478e-05/0.1102, allocations: 51.66 kB / 484.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.1104, allocations: 139.5 kB / 485.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1104, allocations: 0 / 485.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1104, allocations: 0 / 485.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.1104, allocations: 3.938 kB / 485.1 MB, free: 0.9023 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000541/0.111, allocations: 438.8 kB / 485.5 MB, free: 436 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.111, allocations: 15.97 kB / 485.5 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.1111, allocations: 8.844 kB / 485.5 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.1113, allocations: 229.5 kB / 485.7 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1114, allocations: 384 / 485.7 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.1114, allocations: 12.12 kB / 485.8 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1115, allocations: 57.67 kB / 485.8 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1116, allocations: 3.938 kB / 485.8 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1116, allocations: 0 / 485.8 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1116, allocations: 0 / 485.8 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.467e-05/0.1117, allocations: 23.97 kB / 485.8 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.1121, allocations: 312.7 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.1123, allocations: 62.48 kB / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.568e-05/0.1124, allocations: 20.98 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.1124, allocations: 7.938 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.1125, allocations: 71.36 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.1126, allocations: 4 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007132/0.1133, allocations: 233 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.1133, allocations: 59.34 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.1135, allocations: 239 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.1135, allocations: 25.7 kB / 486.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.1136, allocations: 112.1 kB / 487 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.1137, allocations: 35.61 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.1137, allocations: 33.7 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1138, allocations: 326.8 kB / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.712e-05/0.1139, allocations: 31.98 kB / 487.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.838e-05/0.114, allocations: 53.52 kB / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.1141, allocations: 73.7 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1141, allocations: 0 / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002052/0.1143, allocations: 145.4 kB / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1144, allocations: 4 kB / 487.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1144, allocations: 0 / 487.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1144, allocations: 0 / 487.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.765e-05/0.1145, allocations: 23.98 kB / 487.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1145, allocations: 3.938 kB / 487.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.586e-05/0.1145, allocations: 4 kB / 487.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1146, allocations: 4 kB / 487.7 MB, free: 14.05 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 (13): * Single equations (assignments): 13 * 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.851e-05/0.1147, allocations: 137.8 kB / 487.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.1147, allocations: 11.81 kB / 487.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.712e-05/0.1147, allocations: 21.41 kB / 487.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1147, allocations: 4 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1148, allocations: 7.922 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1148, allocations: 0 / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.1152, allocations: 463.9 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1153, allocations: 64 / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.1153, allocations: 19.98 kB / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1153, allocations: 0 / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1153, allocations: 7.938 kB / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1153, allocations: 0 / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1154, allocations: 0 / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.1156, allocations: 237 kB / 488.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.1156, allocations: 92.92 kB / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.1157, allocations: 0 / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.1158, allocations: 7.984 kB / 488.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.1158, allocations: 8 kB / 488.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.1158, allocations: 7.984 kB / 488.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.116, allocations: 168.4 kB / 488.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.116, allocations: 0 / 488.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1162, allocations: 39.98 kB / 488.9 MB, free: 12.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001101/0.1174, allocations: 0.5013 MB / 489.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.1176, allocations: 79.91 kB / 489.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1176, allocations: 0 / 489.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.357e-05/0.1177, allocations: 43.92 kB / 489.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.118, allocations: 37.72 kB / 489.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/0.1185, allocations: 284.8 kB / 489.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.1188, allocations: 0.7157 MB / 490.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.989e-05/0.1189, allocations: 20.62 kB / 490.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.1189, allocations: 27.42 kB / 490.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1189, allocations: 3.938 kB / 490.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of Templates: time 0.004527/0.1235, allocations: 1.995 MB / 492.6 MB, free: 9.168 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches