Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008056/0.0008055, allocations: 96.34 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009965/0.0009965, allocations: 207.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.7 MB / 247.5 MB, free: 11.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1958/0.1958, allocations: 46.18 MB / 345.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002575/0.0002575, allocations: 12 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1048, allocations: 63.56 MB / 483.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002099/0.1069, allocations: 1.536 MB / 485.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.1087, allocations: 1.074 MB / 486.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.439e-05/0.1088, allocations: 0 / 486.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.1093, allocations: 303.4 kB / 486.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004136/0.1097, allocations: 235.4 kB / 486.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.11, allocations: 91.78 kB / 487 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.1103, allocations: 247.4 kB / 487.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.237e-05/0.1103, allocations: 9.688 kB / 487.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.1105, allocations: 123.5 kB / 487.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.1108, allocations: 199.5 kB / 487.5 MB, free: 344 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.1108, allocations: 4 kB / 487.5 MB, free: 340 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1109, allocations: 35.98 kB / 487.6 MB, free: 304 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.111, allocations: 143.5 kB / 487.7 MB, free: 160 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.1112, allocations: 172.6 kB / 487.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.1115, allocations: 279.7 kB / 488.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1115, allocations: 0 / 488.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1115, allocations: 0 / 488.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.1115, 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.0008108/0.1123, allocations: 0.6766 MB / 488.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1124, allocations: 16.81 kB / 488.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.333e-05/0.1125, allocations: 52.38 kB / 488.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/0.113, allocations: 451.8 kB / 489.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.113, allocations: 4.359 kB / 489.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.113, allocations: 8.125 kB / 489.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.1132, allocations: 79.38 kB / 489.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.1133, allocations: 3.984 kB / 489.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1133, allocations: 11.92 kB / 489.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1133, allocations: 0 / 489.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1134, allocations: 31.98 kB / 489.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.1138, allocations: 382.3 kB / 489.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.114, allocations: 105.2 kB / 490 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.357e-05/0.1141, allocations: 45.64 kB / 490 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.1142, allocations: 0 / 490 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.1144, allocations: 109 kB / 490.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.1144, allocations: 0 / 490.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004534/0.1149, allocations: 204.9 kB / 490.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.1149, allocations: 85.05 kB / 490.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.116, allocations: 1.046 MB / 491.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.116, allocations: 29.7 kB / 491.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.1162, allocations: 236.1 kB / 491.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.1163, allocations: 35.62 kB / 491.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.1163, allocations: 13.72 kB / 491.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1164, allocations: 378.8 kB / 492.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.344e-05/0.1165, allocations: 27.98 kB / 492.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.951e-05/0.1166, allocations: 54.92 kB / 492.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.1168, allocations: 91.84 kB / 492.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1168, allocations: 8 kB / 492.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002931/0.1171, allocations: 164.9 kB / 492.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1171, allocations: 6.188 kB / 492.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1172, allocations: 7.938 kB / 492.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1172, allocations: 0 / 492.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1173, allocations: 31.92 kB / 492.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1173, allocations: 0 / 492.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.1174, allocations: 15.83 kB / 492.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1174, allocations: 8.062 kB / 492.5 MB, free: 11.06 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.0002099/0.1176, allocations: 226.5 kB / 492.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.1177, allocations: 55.33 kB / 492.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.933e-05/0.1178, allocations: 60.14 kB / 492.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1178, allocations: 0 / 492.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1178, allocations: 0 / 492.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1178, allocations: 4 kB / 492.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.1181, allocations: 345.4 kB / 493.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1181, allocations: 0 / 493.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.1182, allocations: 12 kB / 493.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1182, allocations: 0 / 493.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1182, allocations: 3.984 kB / 493.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1182, allocations: 4 kB / 493.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1182, allocations: 0 / 493.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.1185, allocations: 205.2 kB / 493.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.1187, allocations: 144.4 kB / 493.6 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.1187, allocations: 8 kB / 493.6 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.1188, allocations: 8.109 kB / 493.6 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.1189, allocations: 4.094 kB / 493.6 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.1189, allocations: 19.91 kB / 493.6 MB, free: 9.883 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007799/0.1197, allocations: 0.7878 MB / 494.4 MB, free: 9.098 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1197, allocations: 0 / 494.4 MB, free: 9.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.12, allocations: 40 kB / 494.4 MB, free: 9.059 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.0009445/0.1209, allocations: 414.2 kB / 494.8 MB, free: 8.781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.1212, allocations: 79.89 kB / 494.9 MB, free: 8.703 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1212, allocations: 0 / 494.9 MB, free: 8.703 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.1213, allocations: 43.92 kB / 494.9 MB, free: 8.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.1218, allocations: 66.7 kB / 495 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.1231, allocations: 1.008 MB / 496 MB, free: 7.547 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.1235, allocations: 0.8508 MB / 496.9 MB, free: 6.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.1236, allocations: 31.44 kB / 496.9 MB, free: 6.637 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1236, allocations: 0 / 496.9 MB, free: 6.637 MB / 366.1 MB Notification: Performance of Templates: time 0.008618/0.1322, allocations: 5.083 MB / 0.4902 GB, free: 1.559 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches