Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.00105, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001052/0.001052, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2124/0.2124, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 75.88 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4039, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.004728/0.4087, allocations: 1.833 MB / 0.5324 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002795/0.4115, allocations: 1.085 MB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.4116, allocations: 5.062 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007638/0.4125, allocations: 299.6 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000734/0.4132, allocations: 253 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.4137, allocations: 109.3 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004644/0.4142, allocations: 265.5 kB / 0.5343 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.632e-05/0.4143, allocations: 13.92 kB / 0.5343 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.4146, allocations: 124.1 kB / 0.5344 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003646/0.4149, allocations: 198 kB / 0.5346 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.415, allocations: 6.875 kB / 0.5346 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.4152, allocations: 50.22 kB / 0.5347 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.4154, allocations: 134.3 kB / 0.5348 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.4157, allocations: 150.7 kB / 0.535 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00069/0.4164, allocations: 361 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.4164, allocations: 8 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4164, allocations: 1.125 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.4164, allocations: 0 / 0.5353 GB, free: 10 MB / 398.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.001531/0.418, allocations: 0.752 MB / 0.536 GB, free: 9.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.418, allocations: 13.78 kB / 0.5361 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.757e-05/0.4181, allocations: 40.17 kB / 0.5361 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.4183, allocations: 54.48 kB / 0.5361 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.4193, allocations: 452.8 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.4193, allocations: 6.625 kB / 0.5366 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.4194, allocations: 6 kB / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.4197, allocations: 84.14 kB / 0.5367 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4197, allocations: 1.438 kB / 0.5367 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.4198, allocations: 0 / 0.5367 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.4198, allocations: 1.25 kB / 0.5367 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.42, allocations: 31.55 kB / 0.5367 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006521/0.4207, allocations: 376.5 kB / 0.5371 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005024/0.4212, allocations: 105.1 kB / 0.5372 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.4214, allocations: 49.38 kB / 0.5372 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.4215, allocations: 1.219 kB / 0.5372 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00037/0.4218, allocations: 111.9 kB / 0.5373 GB, free: 8.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 6.452e-06/0.4219, allocations: 5.422 kB / 0.5373 GB, free: 8.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008242/0.4227, allocations: 200.4 kB / 0.5375 GB, free: 8.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.4228, allocations: 86.28 kB / 0.5376 GB, free: 8.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/0.4247, allocations: 1.019 MB / 0.5386 GB, free: 7.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.4248, allocations: 31.3 kB / 0.5386 GB, free: 7.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.4251, allocations: 237.5 kB / 0.5388 GB, free: 7.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.347e-05/0.4252, allocations: 28.69 kB / 0.5389 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.294e-05/0.4253, allocations: 26.41 kB / 0.5389 GB, free: 7.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002361/0.4256, allocations: 370.4 kB / 0.5393 GB, free: 6.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.4258, allocations: 30.48 kB / 0.5393 GB, free: 6.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.426, allocations: 62.36 kB / 0.5393 GB, free: 6.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.4263, allocations: 90.81 kB / 0.5394 GB, free: 6.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.4264, allocations: 4.438 kB / 0.5394 GB, free: 6.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005925/0.427, allocations: 174.6 kB / 0.5396 GB, free: 6.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.427, allocations: 5.469 kB / 0.5396 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.427, allocations: 1.094 kB / 0.5396 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.4271, allocations: 1.969 kB / 0.5396 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.4273, allocations: 25.86 kB / 0.5396 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.4273, allocations: 1.031 kB / 0.5396 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.4275, allocations: 20.22 kB / 0.5397 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.4276, allocations: 8.344 kB / 0.5397 GB, free: 6.645 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.0003752/0.428, allocations: 228.8 kB / 0.5399 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.4281, allocations: 49.55 kB / 0.5399 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.4283, allocations: 59 kB / 0.54 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.4283, allocations: 4.797 kB / 0.54 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.4283, allocations: 1.156 kB / 0.54 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.4283, allocations: 1.125 kB / 0.54 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005391/0.4289, allocations: 339.9 kB / 0.5403 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.4289, allocations: 1.125 kB / 0.5403 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.358e-05/0.429, allocations: 6.344 kB / 0.5403 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.429, allocations: 4.969 kB / 0.5403 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.429, allocations: 2.5 kB / 0.5403 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.429, allocations: 1.125 kB / 0.5403 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.429, allocations: 3.938 kB / 0.5403 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/0.4297, allocations: 212.8 kB / 0.5405 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.4299, allocations: 137.9 kB / 0.5407 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.495e-05/0.43, allocations: 2.188 kB / 0.5407 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.4302, allocations: 7.156 kB / 0.5407 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.4303, allocations: 12.27 kB / 0.5407 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.4303, allocations: 4.312 kB / 0.5407 GB, free: 5.816 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001519/0.4318, allocations: 0.7641 MB / 0.5414 GB, free: 5.461 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4318, allocations: 1.25 kB / 0.5414 GB, free: 5.461 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005181/0.4324, allocations: 43.56 kB / 0.5415 GB, free: 5.453 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.002575/0.435, allocations: 1.047 MB / 0.5425 GB, free: 4.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004311/0.4354, allocations: 83.03 kB / 0.5426 GB, free: 4.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.4354, allocations: 1.156 kB / 0.5426 GB, free: 4.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.4357, allocations: 42.91 kB / 0.5426 GB, free: 4.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007472/0.4364, allocations: 80.19 kB / 0.5427 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.4466, allocations: 4.47 MB / 0.5471 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007971/0.4475, allocations: 0.8427 MB / 0.5479 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002935/0.4478, allocations: 54.95 kB / 0.5479 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003378/0.4481, allocations: 151.4 kB / 0.5481 GB, free: 15.43 MB / 414.1 MB Notification: Performance of SimCode: time 1.293e-06/0.4482, allocations: 0 / 0.5481 GB, free: 15.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04763/0.4958, allocations: 8.918 MB / 0.5568 GB, free: 6.598 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.3/8.796, allocations: 19.19 kB / 0.5568 GB, free: 6.582 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_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