Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008689/0.0008689, allocations: 93.41 kB / 18 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.001125/0.001125, allocations: 202.5 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.309/1.309, allocations: 227.7 MB / 247.5 MB, free: 11.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1929/0.1929, allocations: 46.18 MB / 345.9 MB, free: 11.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002751, allocations: 12 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1014, allocations: 63.56 MB / 483.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002012/0.1034, allocations: 1.54 MB / 485.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.1052, allocations: 1.068 MB / 486.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1053, allocations: 3.938 kB / 486.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004606/0.1058, allocations: 299.4 kB / 486.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004206/0.1062, allocations: 235.4 kB / 486.9 MB, free: 1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.1065, allocations: 91.78 kB / 487 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.1068, allocations: 243.4 kB / 487.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.246e-05/0.1068, allocations: 9.688 kB / 487.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.107, allocations: 135.4 kB / 487.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.1073, allocations: 187.5 kB / 487.5 MB, free: 356 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.1073, allocations: 4 kB / 487.5 MB, free: 352 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1074, allocations: 35.98 kB / 487.6 MB, free: 316 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.1075, allocations: 143.5 kB / 487.7 MB, free: 172 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.1077, allocations: 172.5 kB / 487.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.108, allocations: 283.7 kB / 488.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.108, allocations: 4 kB / 488.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.108, allocations: 0 / 488.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.108, allocations: 0 / 488.2 MB, free: 15.71 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.000831/0.1089, allocations: 0.6804 MB / 488.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1089, allocations: 12.88 kB / 488.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.656e-05/0.109, allocations: 44.38 kB / 488.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.1095, allocations: 455.8 kB / 489.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.1095, allocations: 12.38 kB / 489.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.1096, allocations: 4.125 kB / 489.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.1097, allocations: 95.34 kB / 489.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.1098, allocations: 0 / 489.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1098, allocations: 0 / 489.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1098, allocations: 0 / 489.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.1099, allocations: 31.92 kB / 489.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.1103, allocations: 382.3 kB / 489.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.1105, allocations: 105.2 kB / 490 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.082e-05/0.1106, allocations: 41.64 kB / 490 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.1107, allocations: 8 kB / 490 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.1109, allocations: 109 kB / 490.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1109, allocations: 0 / 490.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004522/0.1113, allocations: 200.9 kB / 490.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.1114, allocations: 81.11 kB / 490.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.1125, allocations: 1.054 MB / 491.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.1125, allocations: 29.7 kB / 491.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.1127, allocations: 236.1 kB / 491.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.1127, allocations: 27.64 kB / 491.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.1127, allocations: 21.7 kB / 491.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1129, allocations: 366.8 kB / 492.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.529e-05/0.113, allocations: 27.98 kB / 492.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.061e-05/0.1131, allocations: 55.42 kB / 492.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.1132, allocations: 95.34 kB / 492.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1133, allocations: 0 / 492.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002916/0.1136, allocations: 165.5 kB / 492.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1136, allocations: 8 kB / 492.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1136, allocations: 0 / 492.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1136, allocations: 7.922 kB / 492.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1137, allocations: 28.06 kB / 492.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1137, allocations: 4 kB / 492.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.1139, allocations: 23.83 kB / 492.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1139, allocations: 4 kB / 492.5 MB, free: 11.07 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.0001937/0.1141, allocations: 226.5 kB / 492.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.1141, allocations: 51.34 kB / 492.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.676e-05/0.1142, allocations: 60.14 kB / 492.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1142, allocations: 4 kB / 492.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1142, allocations: 4 kB / 492.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1142, allocations: 0 / 492.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.1145, allocations: 345.4 kB / 493.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1145, allocations: 0 / 493.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.1146, allocations: 11.98 kB / 493.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1146, allocations: 0 / 493.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1146, allocations: 8 kB / 493.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.1146, allocations: 0 / 493.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1146, allocations: 3.984 kB / 493.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.1149, allocations: 213.1 kB / 493.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.1151, allocations: 144.4 kB / 493.6 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.1151, allocations: 0 / 493.6 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.686e-05/0.1152, allocations: 11.98 kB / 493.6 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.1152, allocations: 11.98 kB / 493.6 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.1153, allocations: 4 kB / 493.6 MB, free: 9.887 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007616/0.116, allocations: 0.7839 MB / 494.4 MB, free: 9.105 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.116, allocations: 0 / 494.4 MB, free: 9.105 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1163, allocations: 40 kB / 494.4 MB, free: 9.066 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.0009041/0.1172, allocations: 422.5 kB / 494.8 MB, free: 8.785 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.1175, allocations: 79.89 kB / 494.9 MB, free: 8.707 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1175, allocations: 0 / 494.9 MB, free: 8.707 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1176, allocations: 36.11 kB / 494.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.118, allocations: 84.23 kB / 495 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.1193, allocations: 1.016 MB / 496 MB, free: 7.539 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.1196, allocations: 0.843 MB / 496.9 MB, free: 6.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.1197, allocations: 27.42 kB / 496.9 MB, free: 6.641 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1197, allocations: 4 kB / 496.9 MB, free: 6.637 MB / 366.1 MB Notification: Performance of Templates: time 0.007941/0.1277, allocations: 5.078 MB / 0.4902 GB, free: 1.562 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches