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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001852/0.001852, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002383/0.002383, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2104/0.2104, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 78.34 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09827/0.09985, allocations: 62.45 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003128/0.103, allocations: 1.825 MB / 482 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.1048, allocations: 1.091 MB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.105, allocations: 8 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004793/0.1055, allocations: 311.3 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004711/0.1059, allocations: 255.2 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.1062, allocations: 107.6 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.1066, allocations: 255.4 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.771e-05/0.1066, allocations: 13.67 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.1068, allocations: 131.5 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.1071, allocations: 195.5 kB / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.1071, allocations: 12 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.1072, allocations: 51.91 kB / 484.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.1074, allocations: 127.6 kB / 484.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.1075, allocations: 146.8 kB / 484.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.1079, allocations: 375 kB / 485 MB, free: 296 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1079, allocations: 0 / 485 MB, free: 296 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1079, allocations: 0 / 485 MB, free: 296 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1079, allocations: 0 / 485 MB, free: 296 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.0008748/0.1088, allocations: 0.7462 MB / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1089, allocations: 16.03 kB / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.489e-05/0.1089, allocations: 34.73 kB / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.736e-05/0.109, allocations: 48.28 kB / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.1095, allocations: 451.8 kB / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1095, allocations: 4.375 kB / 486.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.1095, allocations: 11.92 kB / 486.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.1097, allocations: 87.3 kB / 486.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1098, allocations: 0 / 486.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1098, allocations: 4 kB / 486.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1098, allocations: 0 / 486.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.1099, allocations: 27.98 kB / 486.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.1103, allocations: 378.4 kB / 486.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.1105, allocations: 113.1 kB / 486.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.937e-05/0.1106, allocations: 37.7 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.1107, allocations: 7.938 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.1109, allocations: 105 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.1109, allocations: 8 kB / 487.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004741/0.1114, allocations: 196.9 kB / 487.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.1114, allocations: 77.11 kB / 487.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.1125, allocations: 1.058 MB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1125, allocations: 29.7 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.1126, allocations: 236.1 kB / 488.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.1127, allocations: 31.61 kB / 488.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.1128, allocations: 29.7 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1129, allocations: 374.7 kB / 489.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.627e-05/0.113, allocations: 27.98 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.382e-05/0.1131, allocations: 63.34 kB / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.1133, allocations: 87.92 kB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1133, allocations: 3.938 kB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002857/0.1136, allocations: 172.9 kB / 489.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1136, allocations: 4 kB / 489.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1136, allocations: 0 / 489.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1136, allocations: 4 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1138, allocations: 19.98 kB / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1138, allocations: 12.05 kB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.234e-05/0.1139, allocations: 11.94 kB / 489.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.1139, allocations: 4 kB / 489.5 MB, free: 11.53 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.0001972/0.1141, allocations: 229.6 kB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.1142, allocations: 51.34 kB / 489.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.694e-05/0.1142, allocations: 56.14 kB / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1143, allocations: 4 kB / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1143, allocations: 0 / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1143, allocations: 3.984 kB / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.1146, allocations: 345.4 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1146, allocations: 4 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.1146, allocations: 4 kB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1146, allocations: 4 kB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.1146, allocations: 4 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1146, allocations: 0 / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1147, allocations: 3.938 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.115, allocations: 217.3 kB / 490.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.1151, allocations: 140.4 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.098e-05/0.1152, allocations: 4 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-05/0.1153, allocations: 11.92 kB / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.1153, allocations: 4 kB / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.1153, allocations: 7.984 kB / 490.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007491/0.1161, allocations: 0.7878 MB / 491.3 MB, free: 9.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1161, allocations: 0 / 491.3 MB, free: 9.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.1164, allocations: 44 kB / 491.4 MB, free: 9.523 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.001418/0.1178, allocations: 1.052 MB / 492.4 MB, free: 8.582 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002503/0.1181, allocations: 87.97 kB / 492.5 MB, free: 8.496 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1181, allocations: 0 / 492.5 MB, free: 8.496 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1182, allocations: 43.92 kB / 492.6 MB, free: 8.453 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.1186, allocations: 64.7 kB / 492.6 MB, free: 8.395 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005122/0.1237, allocations: 4.689 MB / 497.3 MB, free: 3.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.1241, allocations: 0.8466 MB / 498.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.1243, allocations: 58.94 kB / 498.2 MB, free: 2.664 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.1245, allocations: 151.4 kB / 498.4 MB, free: 2.516 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1245, allocations: 0 / 498.4 MB, free: 2.516 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.1514, allocations: 8.907 MB / 0.4954 GB, free: 9.676 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.051, allocations: 18.22 kB / 0.4954 GB, free: 9.66 MB / 382.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_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_Test70.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv","/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) "Warning: Resultfile and Reference have different end time points! Reffile[5115]=8000.000000 File[555]=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