Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",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.001202/0.001202, allocations: 112.7 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.001197/0.001198, allocations: 180.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.428/1.428, 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.2248/0.2248, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 67.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.375, allocations: 60.82 MB / 0.5185 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002858/0.3779, allocations: 1.73 MB / 0.5202 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.3793, allocations: 0.8714 MB / 0.5211 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.18e-05/0.3793, allocations: 3.938 kB / 0.5211 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004069/0.3798, allocations: 106.6 kB / 0.5212 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.38, allocations: 89.31 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.3804, allocations: 109.7 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.3806, allocations: 125.2 kB / 0.5215 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3807, allocations: 22.06 kB / 0.5215 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.3809, allocations: 58.39 kB / 0.5216 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.381, allocations: 70.67 kB / 0.5216 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.381, allocations: 4.469 kB / 0.5216 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.3812, allocations: 60.08 kB / 0.5217 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.458e-05/0.3812, allocations: 27.92 kB / 0.5217 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.18e-05/0.3813, allocations: 48.17 kB / 0.5218 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.3816, allocations: 155.5 kB / 0.5219 GB, free: 1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3816, allocations: 5.375 kB / 0.5219 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3816, allocations: 4 kB / 0.5219 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.3816, allocations: 0 / 0.5219 GB, free: 0.9922 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005655/0.3822, allocations: 448.1 kB / 0.5223 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3823, allocations: 10.33 kB / 0.5224 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.14e-05/0.3823, allocations: 37.72 kB / 0.5224 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.3823, allocations: 14.78 kB / 0.5224 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.3826, allocations: 226 kB / 0.5226 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.3827, allocations: 2.047 kB / 0.5226 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.3827, allocations: 11.28 kB / 0.5226 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.3829, allocations: 65.92 kB / 0.5227 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3829, allocations: 1 kB / 0.5227 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3829, allocations: 1.812 kB / 0.5227 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3829, allocations: 1.156 kB / 0.5227 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.383, allocations: 31.44 kB / 0.5227 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/0.3835, allocations: 330.4 kB / 0.523 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.3838, allocations: 76.97 kB / 0.5231 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.144e-05/0.3839, allocations: 22.62 kB / 0.5231 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.3839, allocations: 1.984 kB / 0.5231 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.3841, allocations: 79.92 kB / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.3842, allocations: 0 / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009238/0.3851, allocations: 272.9 kB / 0.5235 GB, free: 15.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.3851, allocations: 57.08 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.3854, allocations: 248.2 kB / 0.5238 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.3855, allocations: 26.86 kB / 0.5238 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.896e-05/0.3856, allocations: 116.3 kB / 0.5239 GB, free: 15.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.3856, allocations: 40.55 kB / 0.5239 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/0.3857, allocations: 25.69 kB / 0.524 GB, free: 15.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3858, allocations: 332.6 kB / 0.5243 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.845e-05/0.3859, allocations: 33.61 kB / 0.5243 GB, free: 14.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.386, allocations: 47.66 kB / 0.5244 GB, free: 14.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.3862, allocations: 97.36 kB / 0.5245 GB, free: 14.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3862, allocations: 0 / 0.5245 GB, free: 14.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002625/0.3865, allocations: 147.6 kB / 0.5246 GB, free: 14.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3865, allocations: 12.31 kB / 0.5246 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3865, allocations: 1.906 kB / 0.5246 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.3866, allocations: 3.984 kB / 0.5246 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.038e-05/0.3867, allocations: 26.3 kB / 0.5246 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3867, allocations: 1.688 kB / 0.5246 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.3867, allocations: 6.781 kB / 0.5246 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3867, allocations: 3.281 kB / 0.5246 GB, free: 14.76 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.00014/0.3869, allocations: 138 kB / 0.5248 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.3869, allocations: 16.17 kB / 0.5248 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.756e-05/0.387, allocations: 27.64 kB / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.387, allocations: 5.375 kB / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.387, allocations: 5.375 kB / 0.5248 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3871, allocations: 0.7031 kB / 0.5248 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007156/0.3878, allocations: 472.7 kB / 0.5253 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3878, allocations: 2 kB / 0.5253 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-05/0.3878, allocations: 14.62 kB / 0.5253 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.3879, allocations: 5.906 kB / 0.5253 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.3879, allocations: 7.156 kB / 0.5253 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3879, allocations: 1.844 kB / 0.5253 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3879, allocations: 1.781 kB / 0.5253 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.3883, allocations: 253.7 kB / 0.5256 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/0.3883, allocations: 93.78 kB / 0.5256 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.3884, allocations: 4.062 kB / 0.5256 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.3885, allocations: 5.5 kB / 0.5257 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.3885, allocations: 8.656 kB / 0.5257 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.3885, allocations: 5.812 kB / 0.5257 GB, free: 13.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001952/0.3887, allocations: 188.1 kB / 0.5258 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3887, allocations: 0 / 0.5258 GB, free: 13.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002925/0.389, allocations: 31.81 kB / 0.5259 GB, free: 13.79 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.00245/0.3915, allocations: 1.192 MB / 0.527 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002646/0.3918, allocations: 95.92 kB / 0.5271 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3918, allocations: 5.438 kB / 0.5271 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.3919, allocations: 46.09 kB / 0.5272 GB, free: 12.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.3923, allocations: 34.33 kB / 0.5272 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.3947, allocations: 1.934 MB / 0.5291 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.3951, allocations: 0.7215 MB / 0.5298 GB, free: 10.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.302e-05/0.3952, allocations: 23.55 kB / 0.5298 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.356e-05/0.3953, allocations: 46.98 kB / 0.5299 GB, free: 10.63 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3953, allocations: 4 kB / 0.5299 GB, free: 10.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.4229, allocations: 4.11 MB / 0.5339 GB, free: 8.668 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.341, allocations: 13.97 kB / 0.5339 GB, free: 8.656 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches