Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 117.1 kB / 17.78 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 184.2 kB / 18.72 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2307/0.2307, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 71.88 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3485, allocations: 60.83 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003212/0.3518, allocations: 1.798 MB / 0.5203 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.3534, allocations: 0.9569 MB / 0.5212 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.3536, allocations: 6.031 kB / 0.5212 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005734/0.3542, allocations: 290.9 kB / 0.5215 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.3546, allocations: 209.5 kB / 0.5217 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.355, allocations: 175.4 kB / 0.5218 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.3553, allocations: 242.7 kB / 0.5221 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.685e-05/0.3554, allocations: 10.05 kB / 0.5221 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.3555, allocations: 126.7 kB / 0.5222 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/0.3558, allocations: 185.3 kB / 0.5224 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.3558, allocations: 6.469 kB / 0.5224 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.356, allocations: 49.02 kB / 0.5224 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.3561, allocations: 128 kB / 0.5225 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.3562, allocations: 142.8 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.3566, allocations: 361.7 kB / 0.523 GB, free: 0.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3566, allocations: 5.188 kB / 0.523 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3566, allocations: 0 / 0.523 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.3566, allocations: 0 / 0.523 GB, free: 0.7031 MB / 382.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.000805/0.3575, allocations: 0.7302 MB / 0.5237 GB, free: 96 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3575, allocations: 13.28 kB / 0.5238 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.005e-05/0.3575, allocations: 36.11 kB / 0.5238 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.933e-05/0.3576, allocations: 50.97 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000682/0.3583, allocations: 449.5 kB / 0.5243 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3583, allocations: 6.609 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.3584, allocations: 8.5 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.3586, allocations: 85.55 kB / 0.5244 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3586, allocations: 0.8438 kB / 0.5244 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3586, allocations: 1.781 kB / 0.5244 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3586, allocations: 0 / 0.5244 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.3587, allocations: 42.22 kB / 0.5244 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.3592, allocations: 374.1 kB / 0.5248 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.3595, allocations: 104.9 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.723e-05/0.3596, allocations: 38.91 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.3596, allocations: 5.375 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.3599, allocations: 104.6 kB / 0.525 GB, free: 15.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.3599, allocations: 1.375 kB / 0.525 GB, free: 15.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004999/0.3604, allocations: 201.9 kB / 0.5252 GB, free: 15.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.3605, allocations: 83.19 kB / 0.5253 GB, free: 14.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.3617, allocations: 1.007 MB / 0.5263 GB, free: 14.63 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.3617, allocations: 31.33 kB / 0.5263 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.362, allocations: 231.8 kB / 0.5265 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.362, allocations: 26.56 kB / 0.5265 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.3621, allocations: 28.55 kB / 0.5266 GB, free: 14.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002365/0.3623, allocations: 365.3 kB / 0.5269 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.726e-05/0.3624, allocations: 27.11 kB / 0.5269 GB, free: 14.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.3625, allocations: 62.66 kB / 0.527 GB, free: 13.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.3627, allocations: 87.11 kB / 0.5271 GB, free: 13.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.3627, allocations: 3.938 kB / 0.5271 GB, free: 13.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003301/0.3631, allocations: 169.9 kB / 0.5273 GB, free: 13.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3631, allocations: 5.594 kB / 0.5273 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3631, allocations: 1.125 kB / 0.5273 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3631, allocations: 6.094 kB / 0.5273 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.3633, allocations: 25.95 kB / 0.5273 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3633, allocations: 2.281 kB / 0.5273 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.506e-05/0.3634, allocations: 12.23 kB / 0.5273 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.3634, allocations: 4.062 kB / 0.5273 GB, free: 13.78 MB / 398.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.0002162/0.3636, allocations: 222.4 kB / 0.5275 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/0.3637, allocations: 49.39 kB / 0.5276 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.12e-05/0.3638, allocations: 62.19 kB / 0.5276 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.3638, allocations: 5.375 kB / 0.5276 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3638, allocations: 1.438 kB / 0.5276 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3638, allocations: 0 / 0.5276 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.3641, allocations: 342 kB / 0.528 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.3642, allocations: 1.688 kB / 0.528 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/0.3642, allocations: 9.656 kB / 0.528 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3642, allocations: 5 kB / 0.528 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.3642, allocations: 10.38 kB / 0.528 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3642, allocations: 5.266 kB / 0.528 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3642, allocations: 0 / 0.528 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.3646, allocations: 199.9 kB / 0.5282 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.3647, allocations: 138.2 kB / 0.5283 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.3648, allocations: 6.125 kB / 0.5283 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.062e-05/0.3649, allocations: 10.83 kB / 0.5283 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.3649, allocations: 4.094 kB / 0.5283 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.365, allocations: 8.859 kB / 0.5283 GB, free: 12.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008508/0.3658, allocations: 0.7467 MB / 0.5291 GB, free: 12.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3658, allocations: 0 / 0.5291 GB, free: 12.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.3661, allocations: 43.95 kB / 0.5291 GB, free: 12.59 MB / 398.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.002397/0.3685, allocations: 1.051 MB / 0.5301 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000403/0.3689, allocations: 87.33 kB / 0.5302 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.369, allocations: 0 / 0.5302 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.3691, allocations: 38.5 kB / 0.5303 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007538/0.3699, allocations: 82.48 kB / 0.5303 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008308/0.3782, allocations: 4.411 MB / 0.5346 GB, free: 9.211 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000631/0.3789, allocations: 0.8408 MB / 0.5355 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.3791, allocations: 61.2 kB / 0.5355 GB, free: 8.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.3793, allocations: 145.4 kB / 0.5357 GB, free: 8.289 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3793, allocations: 0 / 0.5357 GB, free: 8.289 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03388/0.4132, allocations: 8.778 MB / 0.5442 GB, free: 1.473 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.701/9.114, allocations: 7.984 kB / 0.5442 GB, free: 1.465 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv","/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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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