Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 114.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 209.2 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2168/0.2168, allocations: 46.09 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002455/0.002455, allocations: 84.09 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4341, allocations: 62.44 MB / 0.5306 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00375/0.4379, allocations: 1.918 MB / 0.5325 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.4399, allocations: 1.122 MB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.147e-05/0.44, allocations: 2.75 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004416/0.4405, allocations: 163 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000409/0.4409, allocations: 178.5 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.4412, allocations: 119.1 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.4415, allocations: 243.8 kB / 0.5343 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.4416, allocations: 36.62 kB / 0.5343 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.4418, allocations: 114.8 kB / 0.5344 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.442, allocations: 132.6 kB / 0.5345 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.442, allocations: 7.938 kB / 0.5345 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.4422, allocations: 66.45 kB / 0.5346 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.159e-05/0.4423, allocations: 58.88 kB / 0.5347 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.4424, allocations: 84.98 kB / 0.5347 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.4427, allocations: 224.2 kB / 0.535 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4427, allocations: 0 / 0.535 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4428, allocations: 0 / 0.535 GB, free: 10.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.4428, allocations: 0 / 0.535 GB, free: 10.21 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008691/0.4436, allocations: 0.5549 MB / 0.5355 GB, free: 9.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4437, allocations: 10.12 kB / 0.5355 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.116e-05/0.4438, allocations: 45.5 kB / 0.5355 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.157e-05/0.4438, allocations: 32.19 kB / 0.5356 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.4442, allocations: 271.8 kB / 0.5358 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.4442, allocations: 3.156 kB / 0.5358 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.4443, allocations: 17.95 kB / 0.5359 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.4445, allocations: 111 kB / 0.536 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.4445, allocations: 1.375 kB / 0.536 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.4446, allocations: 7.984 kB / 0.536 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4446, allocations: 2.75 kB / 0.536 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.4447, allocations: 44.72 kB / 0.536 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/0.4452, allocations: 465.3 kB / 0.5365 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.4456, allocations: 126.1 kB / 0.5366 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.4457, allocations: 45.33 kB / 0.5366 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.4458, allocations: 6.609 kB / 0.5366 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.446, allocations: 128.3 kB / 0.5368 GB, free: 8.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.446, allocations: 0 / 0.5368 GB, free: 8.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001333/0.4474, allocations: 497.2 kB / 0.5372 GB, free: 8.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.4475, allocations: 79.36 kB / 0.5373 GB, free: 8.164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.4479, allocations: 377.5 kB / 0.5377 GB, free: 7.941 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.4479, allocations: 32.14 kB / 0.5377 GB, free: 7.906 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.448, allocations: 144.7 kB / 0.5378 GB, free: 7.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.4481, allocations: 77.84 kB / 0.5379 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.4481, allocations: 42.08 kB / 0.5379 GB, free: 7.672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4483, allocations: 338.8 kB / 0.5383 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.4484, allocations: 57.41 kB / 0.5383 GB, free: 7.312 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.4486, allocations: 95.19 kB / 0.5384 GB, free: 7.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.4489, allocations: 169.7 kB / 0.5386 GB, free: 7.133 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.4489, allocations: 0 / 0.5386 GB, free: 7.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004082/0.4493, allocations: 234.1 kB / 0.5388 GB, free: 7.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.4493, allocations: 4.625 kB / 0.5388 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4493, allocations: 1.172 kB / 0.5388 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.4493, allocations: 6.844 kB / 0.5388 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.4495, allocations: 54.12 kB / 0.5389 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.4495, allocations: 5.359 kB / 0.5389 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.139e-05/0.4496, allocations: 4.219 kB / 0.5389 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.4496, allocations: 10.78 kB / 0.5389 GB, free: 6.977 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001551/0.4498, allocations: 155.1 kB / 0.539 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.4498, allocations: 33.56 kB / 0.5391 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.213e-05/0.4499, allocations: 36.02 kB / 0.5391 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.4499, allocations: 6.719 kB / 0.5391 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4499, allocations: 5.094 kB / 0.5391 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.45, allocations: 0 / 0.5391 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008974/0.4509, allocations: 0.7219 MB / 0.5398 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.4509, allocations: 2.25 kB / 0.5398 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.538e-05/0.451, allocations: 38.7 kB / 0.5399 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.451, allocations: 3.219 kB / 0.5399 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.451, allocations: 4.281 kB / 0.5399 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.451, allocations: 2.125 kB / 0.5399 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.451, allocations: 6.094 kB / 0.5399 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004718/0.4515, allocations: 422.4 kB / 0.5403 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-05/0.4516, allocations: 104 kB / 0.5404 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.4516, allocations: 4.406 kB / 0.5404 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.4518, allocations: 12.3 kB / 0.5404 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.4518, allocations: 20.52 kB / 0.5404 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.4518, allocations: 16.42 kB / 0.5404 GB, free: 5.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002678/0.4521, allocations: 276.1 kB / 0.5407 GB, free: 5.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4521, allocations: 0 / 0.5407 GB, free: 5.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003635/0.4525, allocations: 47.62 kB / 0.5407 GB, free: 5.512 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001808/0.4543, allocations: 1.361 MB / 0.5421 GB, free: 4.473 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003574/0.4547, allocations: 158 kB / 0.5422 GB, free: 4.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4547, allocations: 4.125 kB / 0.5422 GB, free: 4.402 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.4549, allocations: 79.91 kB / 0.5423 GB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.4554, allocations: 67.62 kB / 0.5424 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.4586, allocations: 2.718 MB / 0.545 GB, free: 2.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.4589, allocations: 0.7606 MB / 0.5458 GB, free: 1.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.4591, allocations: 52.98 kB / 0.5458 GB, free: 1.512 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.4592, allocations: 84.97 kB / 0.5459 GB, free: 1.445 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4592, allocations: 1.5 kB / 0.5459 GB, free: 1.445 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.4837, allocations: 6.08 MB / 0.5518 GB, free: 11.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.725/8.209, allocations: 4.219 kB / 0.5518 GB, free: 11.75 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches