Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.001151, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1981/0.1981, allocations: 46.11 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 75.34 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1034, allocations: 62.45 MB / 480.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003305/0.1068, allocations: 1.824 MB / 482.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.1086, allocations: 1.099 MB / 483.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1087, allocations: 0 / 483.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004957/0.1092, allocations: 299.2 kB / 483.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005083/0.1097, allocations: 263.2 kB / 484.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.11, allocations: 103.7 kB / 484.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.1104, allocations: 255.3 kB / 484.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.903e-05/0.1104, allocations: 17.66 kB / 484.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.1106, allocations: 131.6 kB / 484.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.1109, allocations: 191.9 kB / 484.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.1109, allocations: 4 kB / 484.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.111, allocations: 47.98 kB / 484.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.1112, allocations: 128.5 kB / 485 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.1113, allocations: 146.8 kB / 485.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.1117, allocations: 370.9 kB / 485.5 MB, free: 436 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1117, allocations: 0 / 485.5 MB, free: 436 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1117, allocations: 0 / 485.5 MB, free: 436 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.1117, allocations: 0 / 485.5 MB, free: 436 kB / 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.0009391/0.1127, allocations: 0.7269 MB / 486.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1127, allocations: 8.031 kB / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.505e-05/0.1128, allocations: 48.28 kB / 486.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.1134, allocations: 459.7 kB / 486.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1134, allocations: 4.375 kB / 486.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.1134, allocations: 12.12 kB / 486.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.1136, allocations: 83.36 kB / 486.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1137, allocations: 0 / 486.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1137, allocations: 0 / 486.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1137, allocations: 0 / 486.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.1138, allocations: 35.91 kB / 486.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.1142, allocations: 374.4 kB / 487.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.1145, allocations: 105.2 kB / 487.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.1146, allocations: 41.64 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.1146, allocations: 7.938 kB / 487.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002585/0.1149, allocations: 109 kB / 487.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.1149, allocations: 0 / 487.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004769/0.1154, allocations: 200.9 kB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.1154, allocations: 77.11 kB / 487.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.1165, allocations: 1.03 MB / 488.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1165, allocations: 29.7 kB / 488.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.1167, allocations: 236 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.1167, allocations: 23.66 kB / 489.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.1168, allocations: 33.7 kB / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1169, allocations: 366.7 kB / 489.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.562e-05/0.117, allocations: 27.98 kB / 489.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.506e-05/0.1171, allocations: 63.41 kB / 489.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.1173, allocations: 91.86 kB / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1173, allocations: 0 / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003096/0.1176, allocations: 172.9 kB / 489.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1177, allocations: 8 kB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1177, allocations: 0 / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1177, allocations: 0 / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.1178, allocations: 27.92 kB / 489.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1178, allocations: 0 / 489.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.663e-05/0.1179, allocations: 11.91 kB / 489.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1179, allocations: 4 kB / 489.9 MB, free: 11.78 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002045/0.1181, allocations: 221.7 kB / 490.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/0.1182, allocations: 47.47 kB / 490.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.288e-05/0.1183, allocations: 64.09 kB / 490.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1183, allocations: 0 / 490.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1183, allocations: 0 / 490.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1183, allocations: 4 kB / 490.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.1186, allocations: 349.2 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1186, allocations: 4 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.1187, allocations: 7.938 kB / 490.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1187, allocations: 0 / 490.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.1187, allocations: 7.984 kB / 490.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1187, allocations: 4 kB / 490.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1187, allocations: 0 / 490.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.1191, allocations: 209.1 kB / 490.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.1192, allocations: 136.5 kB / 490.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.1192, allocations: 128 / 490.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/0.1193, allocations: 11.98 kB / 491 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.1194, allocations: 15.98 kB / 491 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.1194, allocations: 4 kB / 491 MB, free: 10.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007358/0.1202, allocations: 0.7604 MB / 491.7 MB, free: 9.852 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1202, allocations: 3.938 kB / 491.7 MB, free: 9.848 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.1204, allocations: 47.98 kB / 491.8 MB, free: 9.801 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.0009453/0.1214, allocations: 409.9 kB / 492.2 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.1216, allocations: 91.91 kB / 492.3 MB, free: 9.445 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1217, allocations: 0 / 492.3 MB, free: 9.445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.1218, allocations: 32.36 kB / 492.3 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.1222, allocations: 70.33 kB / 492.4 MB, free: 9.348 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.1234, allocations: 0.9154 MB / 493.3 MB, free: 8.395 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.1239, allocations: 0.8503 MB / 494.1 MB, free: 7.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.124, allocations: 31.42 kB / 494.2 MB, free: 7.488 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.124, allocations: 0 / 494.2 MB, free: 7.488 MB / 366.1 MB Notification: Performance of Templates: time 0.008255/0.1322, allocations: 5.062 MB / 499.2 MB, free: 2.434 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches