Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",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.00104/0.00104, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001005/0.001005, allocations: 181 kB / 18.71 MB, free: 4.207 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.375/1.375, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2159/0.2159, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.91 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4065, allocations: 60.83 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003147/0.4097, allocations: 1.791 MB / 0.5202 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.4115, allocations: 0.957 MB / 0.5212 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.4116, allocations: 1.156 kB / 0.5212 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007594/0.4124, allocations: 306.6 kB / 0.5215 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006375/0.413, allocations: 215 kB / 0.5217 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007325/0.4138, allocations: 166.8 kB / 0.5218 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004242/0.4142, allocations: 240.9 kB / 0.5221 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.14e-05/0.4143, allocations: 18.62 kB / 0.5221 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.4146, allocations: 132.8 kB / 0.5222 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.415, allocations: 189.9 kB / 0.5224 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.415, allocations: 6.469 kB / 0.5224 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.4152, allocations: 49.45 kB / 0.5224 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.4154, allocations: 129.4 kB / 0.5226 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.4156, allocations: 148 kB / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006857/0.4163, allocations: 366.7 kB / 0.5231 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.4163, allocations: 0 / 0.5231 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4163, allocations: 5.156 kB / 0.5231 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.4163, allocations: 4 kB / 0.5231 GB, free: 0.7188 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.001307/0.4176, allocations: 0.7421 MB / 0.5238 GB, free: 104 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.4177, allocations: 10.36 kB / 0.5238 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.066e-05/0.4177, allocations: 32.84 kB / 0.5238 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.4179, allocations: 51.69 kB / 0.5239 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009585/0.4188, allocations: 457.8 kB / 0.5243 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.4189, allocations: 6.812 kB / 0.5243 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.4189, allocations: 10.55 kB / 0.5243 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.4192, allocations: 90.27 kB / 0.5244 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4193, allocations: 1.375 kB / 0.5244 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.4193, allocations: 0.6562 kB / 0.5244 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.4193, allocations: 1.312 kB / 0.5244 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.4195, allocations: 33.89 kB / 0.5245 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006336/0.4201, allocations: 378.1 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.4206, allocations: 112.7 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.4207, allocations: 39.56 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.4208, allocations: 1.375 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003303/0.4211, allocations: 114.1 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.053e-06/0.4211, allocations: 0 / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007656/0.4219, allocations: 205.5 kB / 0.5253 GB, free: 15.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.422, allocations: 79.23 kB / 0.5253 GB, free: 14.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.4239, allocations: 1.035 MB / 0.5264 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.424, allocations: 31.69 kB / 0.5264 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.4243, allocations: 229 kB / 0.5266 GB, free: 14.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.028e-05/0.4244, allocations: 31.78 kB / 0.5266 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.221e-05/0.4245, allocations: 24.22 kB / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002353/0.4247, allocations: 372.2 kB / 0.527 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.4249, allocations: 27.11 kB / 0.527 GB, free: 14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.425, allocations: 66.59 kB / 0.5271 GB, free: 13.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.4254, allocations: 81.77 kB / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.4254, allocations: 3.938 kB / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005351/0.4259, allocations: 175.8 kB / 0.5273 GB, free: 13.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.426, allocations: 9.156 kB / 0.5274 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.426, allocations: 1.25 kB / 0.5274 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.426, allocations: 1.25 kB / 0.5274 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.4262, allocations: 21.45 kB / 0.5274 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.4262, allocations: 6.531 kB / 0.5274 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.4264, allocations: 4.656 kB / 0.5274 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.4265, allocations: 11.97 kB / 0.5274 GB, free: 13.75 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.0003616/0.4268, allocations: 221.5 kB / 0.5276 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.427, allocations: 58.34 kB / 0.5277 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.4271, allocations: 61.78 kB / 0.5277 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.4271, allocations: 1.406 kB / 0.5277 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.4272, allocations: 5.25 kB / 0.5277 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4272, allocations: 0 / 0.5277 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/0.4277, allocations: 344.8 kB / 0.5281 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4278, allocations: 1.344 kB / 0.5281 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.309e-05/0.4278, allocations: 9.375 kB / 0.5281 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.4279, allocations: 5.281 kB / 0.5281 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.4279, allocations: 10.58 kB / 0.5281 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4279, allocations: 0 / 0.5281 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4279, allocations: 5.125 kB / 0.5281 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005764/0.4285, allocations: 200.9 kB / 0.5283 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.4287, allocations: 138.4 kB / 0.5284 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.909e-05/0.4288, allocations: 6.25 kB / 0.5284 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.4289, allocations: 6.328 kB / 0.5284 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.429, allocations: 12.61 kB / 0.5284 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.429, allocations: 8.656 kB / 0.5284 GB, free: 12.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008747/0.4299, allocations: 0.7669 MB / 0.5292 GB, free: 12.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4299, allocations: 1.156 kB / 0.5292 GB, free: 12.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.4302, allocations: 43.98 kB / 0.5292 GB, free: 12.55 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.001549/0.4318, allocations: 1.062 MB / 0.5303 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.4321, allocations: 82.33 kB / 0.5304 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4321, allocations: 0 / 0.5304 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.4322, allocations: 39.8 kB / 0.5304 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.4327, allocations: 64.64 kB / 0.5305 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00673/0.4394, allocations: 4.521 MB / 0.5349 GB, free: 9.121 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/0.44, allocations: 0.8429 MB / 0.5357 GB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.4402, allocations: 65.94 kB / 0.5358 GB, free: 8.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.4404, allocations: 145.7 kB / 0.5359 GB, free: 8.195 MB / 398.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4404, allocations: 0 / 0.5359 GB, free: 8.195 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.4671, allocations: 8.942 MB / 0.5446 GB, free: 1.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.449, allocations: 11.03 kB / 0.5446 GB, free: 1.062 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_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_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv","/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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5096]=8000.000000 File[577]=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