Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, 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.001098/0.001098, 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.349/1.349, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2212/0.2212, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001649, allocations: 75.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3939, allocations: 62.44 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003702/0.3976, allocations: 1.747 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.3994, allocations: 1.023 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.25e-05/0.3995, allocations: 5.375 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003822/0.3999, allocations: 109.7 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.4003, allocations: 126.1 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.4005, allocations: 78.86 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.4007, allocations: 136.4 kB / 0.5338 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.4009, allocations: 12.48 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.401, allocations: 68 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.4011, allocations: 66.31 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.4011, allocations: 4.906 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.4013, allocations: 55.52 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.39e-05/0.4013, allocations: 42.02 kB / 0.534 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.4014, allocations: 42.19 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.4017, allocations: 159.6 kB / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4017, allocations: 0 / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4017, allocations: 0 / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.4017, allocations: 1.375 kB / 0.5342 GB, free: 10.73 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006092/0.4023, allocations: 470.2 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.4024, allocations: 9.625 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.4024, allocations: 44.05 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.4025, allocations: 15.72 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.4027, allocations: 221.7 kB / 0.5349 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.4028, allocations: 1.75 kB / 0.5349 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.4028, allocations: 16.05 kB / 0.5349 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.403, allocations: 58.17 kB / 0.535 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.403, allocations: 5.375 kB / 0.535 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.403, allocations: 4 kB / 0.535 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.403, allocations: 5.312 kB / 0.535 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.4031, allocations: 29.84 kB / 0.535 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.4035, allocations: 323.1 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.4038, allocations: 72.95 kB / 0.5354 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.729e-05/0.4039, allocations: 31.84 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.4039, allocations: 1.375 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.4041, allocations: 77.23 kB / 0.5355 GB, free: 9.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.4041, allocations: 0 / 0.5355 GB, free: 9.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008232/0.4049, allocations: 275.8 kB / 0.5358 GB, free: 9.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.405, allocations: 61.59 kB / 0.5358 GB, free: 9.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.4052, allocations: 254.5 kB / 0.5361 GB, free: 9.027 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.4053, allocations: 30.95 kB / 0.5361 GB, free: 8.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.995e-05/0.4053, allocations: 116.1 kB / 0.5362 GB, free: 8.883 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.4054, allocations: 37.97 kB / 0.5362 GB, free: 8.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.4054, allocations: 34.5 kB / 0.5363 GB, free: 8.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4056, allocations: 331.5 kB / 0.5366 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.888e-05/0.4057, allocations: 33.95 kB / 0.5366 GB, free: 8.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.67e-05/0.4057, allocations: 54.02 kB / 0.5367 GB, free: 8.441 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.4059, allocations: 85.61 kB / 0.5368 GB, free: 8.391 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4059, allocations: 0 / 0.5368 GB, free: 8.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000244/0.4062, allocations: 146.8 kB / 0.5369 GB, free: 8.305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.4062, allocations: 4.625 kB / 0.5369 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4062, allocations: 1.156 kB / 0.5369 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.4062, allocations: 5.141 kB / 0.5369 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.829e-05/0.4063, allocations: 31.17 kB / 0.5369 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4063, allocations: 1.031 kB / 0.5369 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.558e-05/0.4064, allocations: 5.953 kB / 0.5369 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.4064, allocations: 12.06 kB / 0.537 GB, free: 8.277 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.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.0001125/0.4065, allocations: 138.2 kB / 0.5371 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.4066, allocations: 19.73 kB / 0.5371 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/0.4066, allocations: 22.91 kB / 0.5371 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4066, allocations: 5.188 kB / 0.5371 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4067, allocations: 4 kB / 0.5371 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4067, allocations: 9.109 kB / 0.5372 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005886/0.4073, allocations: 474 kB / 0.5376 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4073, allocations: 1.594 kB / 0.5376 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.013e-05/0.4073, allocations: 13.88 kB / 0.5376 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4073, allocations: 1.156 kB / 0.5376 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.4074, allocations: 6.656 kB / 0.5376 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4074, allocations: 1.344 kB / 0.5376 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4074, allocations: 4 kB / 0.5376 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.4077, allocations: 255.3 kB / 0.5379 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.4077, allocations: 89.58 kB / 0.538 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.4078, allocations: 6.359 kB / 0.538 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.4079, allocations: 6.344 kB / 0.538 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.4079, allocations: 12.3 kB / 0.538 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.4079, allocations: 4.844 kB / 0.538 GB, free: 7.344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001725/0.4081, allocations: 196.8 kB / 0.5382 GB, free: 7.219 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4081, allocations: 96 / 0.5382 GB, free: 7.219 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002881/0.4084, allocations: 37.86 kB / 0.5382 GB, free: 7.203 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001646/0.4101, allocations: 1.184 MB / 0.5394 GB, free: 6.305 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.4103, allocations: 87 kB / 0.5395 GB, free: 6.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.4103, allocations: 0 / 0.5395 GB, free: 6.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.4104, allocations: 47.08 kB / 0.5395 GB, free: 6.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.4108, allocations: 49.03 kB / 0.5395 GB, free: 6.219 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.413, allocations: 1.951 MB / 0.5414 GB, free: 4.625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.4133, allocations: 0.7197 MB / 0.5422 GB, free: 3.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.891e-05/0.4134, allocations: 23.41 kB / 0.5422 GB, free: 3.902 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.49e-05/0.4135, allocations: 54.94 kB / 0.5422 GB, free: 3.859 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4135, allocations: 0 / 0.5422 GB, free: 3.859 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.438, allocations: 4.177 MB / 0.5463 GB, free: 1.484 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.546/7.984, allocations: 16.11 kB / 0.5463 GB, free: 1.473 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches