Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",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.001323/0.001323, allocations: 113.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.001319/0.001319, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.535/1.535, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2235/0.2235, allocations: 44.18 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002603, allocations: 67.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.37, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003081/0.3731, allocations: 1.702 MB / 0.5202 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.3745, allocations: 0.8763 MB / 0.521 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.629e-05/0.3746, allocations: 5.438 kB / 0.521 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.3749, allocations: 46.53 kB / 0.5211 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.3751, allocations: 63.73 kB / 0.5211 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.3754, allocations: 113.5 kB / 0.5212 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.3756, allocations: 91.83 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3757, allocations: 12.16 kB / 0.5213 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.581e-05/0.3758, allocations: 49.83 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.494e-05/0.3759, allocations: 25.64 kB / 0.5214 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.3759, allocations: 3.25 kB / 0.5214 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.3761, allocations: 42.84 kB / 0.5215 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.3761, allocations: 26.98 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.449e-05/0.3762, allocations: 38.53 kB / 0.5215 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.3764, allocations: 133.3 kB / 0.5217 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3764, allocations: 0 / 0.5217 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.3765, allocations: 1.031 kB / 0.5217 GB, free: 1.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3765, allocations: 3.938 kB / 0.5217 GB, free: 1.199 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004825/0.3769, allocations: 443.8 kB / 0.5221 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.377, allocations: 9.438 kB / 0.5221 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.522e-05/0.377, allocations: 36.59 kB / 0.5221 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.3771, allocations: 16.45 kB / 0.5221 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.3773, allocations: 221.6 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.3773, allocations: 10.03 kB / 0.5224 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.3773, allocations: 6.781 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.3775, allocations: 58.25 kB / 0.5224 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3775, allocations: 4 kB / 0.5224 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.3775, allocations: 1.531 kB / 0.5224 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3775, allocations: 0.9688 kB / 0.5224 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.24e-05/0.3776, allocations: 22.12 kB / 0.5224 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.3779, allocations: 293.4 kB / 0.5227 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.3781, allocations: 56.97 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.006e-05/0.3781, allocations: 23.08 kB / 0.5228 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.3782, allocations: 5.156 kB / 0.5228 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.3783, allocations: 62.91 kB / 0.5229 GB, free: 32 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.3783, allocations: 0 / 0.5229 GB, free: 32 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000558/0.3789, allocations: 187 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.3789, allocations: 57.59 kB / 0.5231 GB, free: 15.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.3793, allocations: 269.8 kB / 0.5234 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.3793, allocations: 26.67 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.03e-05/0.3794, allocations: 115.2 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.3794, allocations: 26.19 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.3795, allocations: 25.77 kB / 0.5235 GB, free: 15.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3797, allocations: 325.2 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.4e-05/0.3797, allocations: 22.02 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.189e-05/0.3798, allocations: 42.75 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.38, allocations: 58.19 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.38, allocations: 0 / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00022/0.3802, allocations: 102.9 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3802, allocations: 5.812 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3802, allocations: 0 / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3803, allocations: 2.062 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.691e-05/0.3803, allocations: 20.92 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3804, allocations: 0 / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.513e-05/0.3804, allocations: 11.16 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.3804, allocations: 3.359 kB / 0.5241 GB, free: 15.07 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.0001246/0.3806, allocations: 136.6 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.3806, allocations: 15 kB / 0.5243 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.442e-05/0.3807, allocations: 19.36 kB / 0.5243 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3807, allocations: 1.312 kB / 0.5243 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3807, allocations: 1.344 kB / 0.5243 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.3807, allocations: 12.44 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.3812, allocations: 405 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3812, allocations: 2.688 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.3813, allocations: 8.266 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.3813, allocations: 5.438 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.3813, allocations: 6.031 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3813, allocations: 2.25 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3813, allocations: 0 / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.3816, allocations: 214.5 kB / 0.5249 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.3817, allocations: 89.56 kB / 0.525 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.3817, allocations: 10.02 kB / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.3818, allocations: 2.484 kB / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.3818, allocations: 10.12 kB / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.3818, allocations: 8.594 kB / 0.525 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002035/0.3821, allocations: 203.7 kB / 0.5252 GB, free: 14.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3821, allocations: 0 / 0.5252 GB, free: 14.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.3823, allocations: 26.89 kB / 0.5252 GB, free: 14.13 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.002136/0.3845, allocations: 1.101 MB / 0.5263 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.3847, allocations: 52.08 kB / 0.5264 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3847, allocations: 0 / 0.5264 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.729e-05/0.3848, allocations: 33.05 kB / 0.5264 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.3851, allocations: 41.14 kB / 0.5264 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.3873, allocations: 1.808 MB / 0.5282 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.3877, allocations: 0.7212 MB / 0.5289 GB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.894e-05/0.3878, allocations: 11.86 kB / 0.5289 GB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.056e-05/0.3879, allocations: 44.84 kB / 0.529 GB, free: 11.12 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3879, allocations: 0 / 0.529 GB, free: 11.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.4157, allocations: 3.712 MB / 0.5326 GB, free: 9.449 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.512, allocations: 7.344 kB / 0.5326 GB, free: 9.445 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches