Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",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.001222/0.001222, allocations: 108.8 kB / 17.78 MB, free: 5.281 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.001244/0.001244, allocations: 184.8 kB / 18.71 MB, free: 4.355 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.461/1.461, 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.2274/0.2274, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.91 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3667, allocations: 60.83 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003367/0.3701, allocations: 1.892 MB / 0.5204 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.3723, allocations: 0.9884 MB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.3725, allocations: 5.062 kB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007492/0.3733, allocations: 221.6 kB / 0.5216 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004927/0.3738, allocations: 169.8 kB / 0.5217 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006767/0.3745, allocations: 179 kB / 0.5219 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004679/0.3749, allocations: 241.2 kB / 0.5221 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.3751, allocations: 32.28 kB / 0.5221 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.3754, allocations: 118 kB / 0.5223 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/0.3757, allocations: 149.8 kB / 0.5224 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.3757, allocations: 7.812 kB / 0.5224 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.3759, allocations: 62.45 kB / 0.5225 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.3761, allocations: 60.88 kB / 0.5225 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.3762, allocations: 89.47 kB / 0.5226 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005011/0.3767, allocations: 233.7 kB / 0.5228 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3767, allocations: 0 / 0.5228 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3767, allocations: 0 / 0.5228 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.3768, allocations: 0.7031 kB / 0.5228 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006766/0.3774, allocations: 0.5649 MB / 0.5234 GB, free: 212 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3775, allocations: 9.062 kB / 0.5234 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.636e-05/0.3775, allocations: 38.23 kB / 0.5234 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.3776, allocations: 34.62 kB / 0.5235 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.378, allocations: 283.6 kB / 0.5237 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.378, allocations: 7.375 kB / 0.5237 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.3781, allocations: 10.2 kB / 0.5238 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.3783, allocations: 111.1 kB / 0.5239 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.3784, allocations: 3.953 kB / 0.5239 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3784, allocations: 6.125 kB / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3784, allocations: 5.594 kB / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.3786, allocations: 45.44 kB / 0.5239 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006472/0.3792, allocations: 478.4 kB / 0.5244 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000496/0.3797, allocations: 125.5 kB / 0.5245 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.3799, allocations: 46.17 kB / 0.5245 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.3799, allocations: 2.703 kB / 0.5245 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003044/0.3802, allocations: 119.7 kB / 0.5247 GB, free: 15.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.3802, allocations: 4 kB / 0.5247 GB, free: 15.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001522/0.3818, allocations: 0.4914 MB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.3818, allocations: 80.7 kB / 0.5252 GB, free: 14.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.3823, allocations: 429.5 kB / 0.5256 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.3823, allocations: 33.02 kB / 0.5257 GB, free: 14.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.3825, allocations: 154.3 kB / 0.5258 GB, free: 14.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/0.3825, allocations: 72.78 kB / 0.5259 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.554e-05/0.3826, allocations: 42.3 kB / 0.5259 GB, free: 14.42 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3828, allocations: 344.9 kB / 0.5262 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.3829, allocations: 57.47 kB / 0.5263 GB, free: 14.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.3831, allocations: 100.2 kB / 0.5264 GB, free: 14.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.3833, allocations: 167.4 kB / 0.5266 GB, free: 13.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3833, allocations: 0 / 0.5266 GB, free: 13.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003984/0.3837, allocations: 240.1 kB / 0.5268 GB, free: 13.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3838, allocations: 6.062 kB / 0.5268 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3838, allocations: 1.312 kB / 0.5268 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3838, allocations: 2.297 kB / 0.5268 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.384, allocations: 51.73 kB / 0.5268 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.384, allocations: 3.297 kB / 0.5268 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.263e-05/0.3841, allocations: 12.41 kB / 0.5269 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.3841, allocations: 8.562 kB / 0.5269 GB, free: 13.77 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.0001646/0.3843, allocations: 164.5 kB / 0.527 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.3843, allocations: 34.88 kB / 0.5271 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.038e-05/0.3844, allocations: 42.72 kB / 0.5271 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3844, allocations: 2.781 kB / 0.5271 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.3844, allocations: 5.375 kB / 0.5271 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3844, allocations: 1.359 kB / 0.5271 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000983/0.3854, allocations: 0.7304 MB / 0.5278 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.3854, allocations: 1.938 kB / 0.5278 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.308e-05/0.3855, allocations: 32.12 kB / 0.5278 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3855, allocations: 1.469 kB / 0.5278 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.3856, allocations: 14.95 kB / 0.5279 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.3856, allocations: 2.125 kB / 0.5279 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.3856, allocations: 10.69 kB / 0.5279 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.3861, allocations: 419.7 kB / 0.5283 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.3862, allocations: 101.2 kB / 0.5284 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.3862, allocations: 9.266 kB / 0.5284 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.3864, allocations: 10.17 kB / 0.5284 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.3864, allocations: 25.22 kB / 0.5284 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.3865, allocations: 13.31 kB / 0.5284 GB, free: 12.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003275/0.3868, allocations: 324.4 kB / 0.5287 GB, free: 12.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3868, allocations: 0 / 0.5287 GB, free: 12.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003639/0.3872, allocations: 47.12 kB / 0.5288 GB, free: 12.39 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.001947/0.3892, allocations: 1.362 MB / 0.5301 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004342/0.3896, allocations: 159.1 kB / 0.5303 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3896, allocations: 0 / 0.5303 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.3898, allocations: 83.25 kB / 0.5303 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006005/0.3904, allocations: 58.55 kB / 0.5304 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/0.3941, allocations: 2.834 MB / 0.5332 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.3945, allocations: 0.7723 MB / 0.5339 GB, free: 8.414 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.3946, allocations: 44.66 kB / 0.534 GB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.3947, allocations: 89.69 kB / 0.534 GB, free: 8.324 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3947, allocations: 0 / 0.534 GB, free: 8.324 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.417, allocations: 6.269 MB / 0.5402 GB, free: 5.125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.588/8.005, allocations: 11.83 kB / 0.5402 GB, free: 5.117 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches