Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001675/0.001675, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002319/0.002319, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.8 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.2066/0.2066, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 78.81 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/0.09524, allocations: 62.44 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003914/0.0992, allocations: 1.832 MB / 482 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.1013, allocations: 1.095 MB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.1015, allocations: 4 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000593/0.1022, allocations: 311.3 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005412/0.1027, allocations: 255.2 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.103, allocations: 103.6 kB / 483.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.1033, allocations: 255.4 kB / 484 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.433e-05/0.1034, allocations: 17.67 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.1036, allocations: 139.5 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.1038, allocations: 191.5 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.1038, allocations: 8 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.104, allocations: 47.97 kB / 484.4 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.1041, allocations: 135.5 kB / 484.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.1042, allocations: 146.8 kB / 484.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004092/0.1047, allocations: 375 kB / 485 MB, free: 272 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1047, allocations: 0 / 485 MB, free: 272 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1047, allocations: 0 / 485 MB, free: 272 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.1047, allocations: 4 kB / 485 MB, free: 268 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.001019/0.1057, allocations: 0.7423 MB / 485.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1058, allocations: 12.03 kB / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.307e-05/0.1058, allocations: 38.73 kB / 485.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.736e-05/0.1059, allocations: 48.28 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005634/0.1065, allocations: 447.8 kB / 486.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.1065, allocations: 4.375 kB / 486.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.1065, allocations: 7.938 kB / 486.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.1068, allocations: 91.3 kB / 486.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1068, allocations: 0 / 486.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.1068, allocations: 4 kB / 486.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1068, allocations: 0 / 486.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.1069, allocations: 27.98 kB / 486.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.1073, allocations: 378.4 kB / 486.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.1076, allocations: 113.1 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.522e-05/0.1077, allocations: 37.7 kB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.1078, allocations: 7.984 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002825/0.1081, allocations: 113 kB / 487.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1081, allocations: 4 kB / 487.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004854/0.1086, allocations: 200.9 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.1086, allocations: 77.11 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.1097, allocations: 1.058 MB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1097, allocations: 29.7 kB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.1099, allocations: 236.1 kB / 488.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.11, allocations: 35.53 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.11, allocations: 29.7 kB / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1102, allocations: 370.8 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.604e-05/0.1102, allocations: 27.98 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.509e-05/0.1103, allocations: 62.91 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.1105, allocations: 83.36 kB / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.1106, allocations: 3.938 kB / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003054/0.1109, allocations: 177.4 kB / 489.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1109, allocations: 8.062 kB / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1109, allocations: 128 / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1109, allocations: 8 kB / 489.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1111, allocations: 19.98 kB / 489.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1111, allocations: 4 kB / 489.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.555e-05/0.1112, allocations: 7.938 kB / 489.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1112, allocations: 4 kB / 489.5 MB, free: 11.51 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.0002194/0.1114, allocations: 229.6 kB / 489.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-05/0.1115, allocations: 51.34 kB / 489.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.144e-05/0.1116, allocations: 64.14 kB / 489.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1116, allocations: 4 kB / 489.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1116, allocations: 0 / 489.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1116, allocations: 0 / 489.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.1119, allocations: 345.4 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.112, allocations: 4 kB / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.695e-05/0.112, allocations: 4 kB / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.112, allocations: 4 kB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.112, allocations: 0 / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.112, allocations: 0 / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.112, allocations: 4 kB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.1124, allocations: 213.1 kB / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.1125, allocations: 140.4 kB / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.692e-05/0.1126, allocations: 0 / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.5e-05/0.1127, allocations: 4 kB / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.1127, allocations: 15.92 kB / 490.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.1128, allocations: 8 kB / 490.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007899/0.1136, allocations: 0.7878 MB / 491.3 MB, free: 9.551 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.442e-06/0.1136, allocations: 0 / 491.3 MB, free: 9.551 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.1139, allocations: 51.92 kB / 491.4 MB, free: 9.5 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.001384/0.1152, allocations: 1.042 MB / 492.4 MB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002424/0.1155, allocations: 83.89 kB / 492.5 MB, free: 8.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1155, allocations: 0 / 492.5 MB, free: 8.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.1156, allocations: 39.92 kB / 492.5 MB, free: 8.441 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.116, allocations: 77.27 kB / 492.6 MB, free: 8.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/0.1212, allocations: 4.694 MB / 497.3 MB, free: 3.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.1216, allocations: 0.8466 MB / 498.2 MB, free: 2.699 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.1218, allocations: 54.95 kB / 498.2 MB, free: 2.645 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.122, allocations: 147.4 kB / 498.3 MB, free: 2.5 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.122, allocations: 3.938 kB / 498.4 MB, free: 2.496 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.1507, allocations: 8.913 MB / 0.4954 GB, free: 9.652 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.835/7.986, allocations: 11.78 kB / 0.4954 GB, free: 9.641 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5078]=8000.000000 File[567]=2048.000000 " Variables in the reference:time,startTime_0.y[1],startTime.y[1] Variables in the result:time,startTime.y[1],startTime_0.y[1],startTime.offset[1],startTime.shiftTime,startTime.startTime