Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001729/0.001729, allocations: 118.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.001829/0.001829, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, 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.224/0.224, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 76.09 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3878, allocations: 62.44 MB / 0.5306 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003996/0.3919, allocations: 1.723 MB / 0.5323 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.3938, allocations: 1.026 MB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.3939, allocations: 3.938 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.3943, allocations: 44.27 kB / 0.5333 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.3946, allocations: 96.2 kB / 0.5334 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.3949, allocations: 83.16 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.3951, allocations: 102 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.3952, allocations: 10.86 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.3953, allocations: 44.28 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.498e-05/0.3954, allocations: 29.42 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.3954, allocations: 4.125 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.3955, allocations: 43.47 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.718e-05/0.3956, allocations: 24.17 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.3957, allocations: 43.88 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.396, allocations: 127.2 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.396, allocations: 0 / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.396, allocations: 3.984 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.396, allocations: 1.375 kB / 0.5339 GB, free: 10.74 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006776/0.3967, allocations: 428.8 kB / 0.5343 GB, free: 10.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.3968, allocations: 9.625 kB / 0.5343 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.3968, allocations: 32.12 kB / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.3969, allocations: 10.39 kB / 0.5344 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.3972, allocations: 224.6 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.3973, allocations: 1.75 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.3973, allocations: 10.67 kB / 0.5346 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.3975, allocations: 54.05 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3975, allocations: 0 / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3975, allocations: 1.375 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3975, allocations: 0 / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.568e-05/0.3976, allocations: 22.92 kB / 0.5347 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.398, allocations: 290.8 kB / 0.535 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.3982, allocations: 61.86 kB / 0.535 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.3983, allocations: 22.47 kB / 0.535 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.3983, allocations: 1.375 kB / 0.535 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.3985, allocations: 73.12 kB / 0.5351 GB, free: 9.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3985, allocations: 0 / 0.5351 GB, free: 9.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005591/0.3991, allocations: 183.1 kB / 0.5353 GB, free: 9.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.3991, allocations: 51.41 kB / 0.5353 GB, free: 9.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.3993, allocations: 209.2 kB / 0.5355 GB, free: 9.188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.3994, allocations: 25.7 kB / 0.5356 GB, free: 9.156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/0.3994, allocations: 106.2 kB / 0.5357 GB, free: 9.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.3995, allocations: 27.44 kB / 0.5357 GB, free: 9.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.3995, allocations: 23.94 kB / 0.5357 GB, free: 9.008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3996, allocations: 327 kB / 0.536 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.3997, allocations: 19.86 kB / 0.536 GB, free: 8.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.3998, allocations: 34.61 kB / 0.5361 GB, free: 8.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.4, allocations: 55.62 kB / 0.5361 GB, free: 8.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4, allocations: 8 kB / 0.5361 GB, free: 8.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001841/0.4002, allocations: 108.5 kB / 0.5362 GB, free: 8.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.4002, allocations: 5.531 kB / 0.5362 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.4002, allocations: 0 / 0.5362 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4002, allocations: 5.031 kB / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.088e-05/0.4003, allocations: 17.67 kB / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4003, allocations: 5.031 kB / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.179e-05/0.4004, allocations: 14.25 kB / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.4004, allocations: 1.812 kB / 0.5363 GB, free: 8.512 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 (10): * Single equations (assignments): 10 * 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.0001116/0.4005, allocations: 133 kB / 0.5364 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.4005, allocations: 13.53 kB / 0.5364 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.192e-05/0.4006, allocations: 15.19 kB / 0.5364 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.4006, allocations: 1.094 kB / 0.5364 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4006, allocations: 0 / 0.5364 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.4006, allocations: 7.922 kB / 0.5364 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004597/0.4011, allocations: 392 kB / 0.5368 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4011, allocations: 1.031 kB / 0.5368 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.4012, allocations: 15.38 kB / 0.5368 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.414e-05/0.4012, allocations: 5.031 kB / 0.5368 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.4012, allocations: 4.984 kB / 0.5368 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4012, allocations: 1 kB / 0.5368 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4012, allocations: 0.9688 kB / 0.5368 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.4015, allocations: 204.7 kB / 0.537 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.4016, allocations: 89.12 kB / 0.5371 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.4017, allocations: 5.25 kB / 0.5371 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.439e-05/0.4017, allocations: 10.39 kB / 0.5371 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.4018, allocations: 2.5 kB / 0.5371 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.4018, allocations: 4.156 kB / 0.5371 GB, free: 7.668 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001557/0.402, allocations: 158.9 kB / 0.5373 GB, free: 7.559 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.402, allocations: 0 / 0.5373 GB, free: 7.559 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.4023, allocations: 24.42 kB / 0.5373 GB, free: 7.551 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: 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 (8): * Single equations (assignments): 6 * 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.001487/0.4038, allocations: 1.113 MB / 0.5384 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.404, allocations: 62.11 kB / 0.5385 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.404, allocations: 0 / 0.5385 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.834e-05/0.4041, allocations: 29.3 kB / 0.5385 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.4044, allocations: 31.31 kB / 0.5385 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.4063, allocations: 1.685 MB / 0.5402 GB, free: 5.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.4067, allocations: 0.7072 MB / 0.5409 GB, free: 4.457 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.795e-05/0.4067, allocations: 22.84 kB / 0.5409 GB, free: 4.445 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.987e-05/0.4068, allocations: 42.73 kB / 0.5409 GB, free: 4.41 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4068, allocations: 4 kB / 0.5409 GB, free: 4.406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.4296, allocations: 3.499 MB / 0.5443 GB, free: 2.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.646/8.076, allocations: 9.062 kB / 0.5443 GB, free: 2.523 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches