Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",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.00173/0.00173, allocations: 112.8 kB / 17.77 MB, free: 5.383 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.00199/0.00199, allocations: 184.8 kB / 18.71 MB, free: 4.457 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.537/1.537, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.231/0.231, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002547/0.002547, allocations: 71.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3804, allocations: 60.82 MB / 0.5185 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002803/0.3832, allocations: 1.709 MB / 0.5202 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3845, allocations: 0.8774 MB / 0.521 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.819e-05/0.3846, allocations: 1.188 kB / 0.521 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.3849, allocations: 50.58 kB / 0.5211 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.3851, allocations: 57.23 kB / 0.5211 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.3854, allocations: 120.3 kB / 0.5212 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.3856, allocations: 96.05 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.872e-05/0.3857, allocations: 7.453 kB / 0.5213 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.237e-05/0.3858, allocations: 45.45 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.677e-05/0.3859, allocations: 26.08 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.3859, allocations: 7.438 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.123e-05/0.386, allocations: 42.62 kB / 0.5215 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.386, allocations: 27.72 kB / 0.5215 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.3861, allocations: 46.5 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.3863, allocations: 125.1 kB / 0.5216 GB, free: 1.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3863, allocations: 0 / 0.5216 GB, free: 1.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3863, allocations: 0 / 0.5216 GB, free: 1.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3863, allocations: 8.438 kB / 0.5217 GB, free: 1.215 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.0004727/0.3868, allocations: 447.4 kB / 0.5221 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3869, allocations: 10.7 kB / 0.5221 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.967e-05/0.3869, allocations: 32.75 kB / 0.5221 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.3869, allocations: 15 kB / 0.5221 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.3872, allocations: 226.8 kB / 0.5224 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.3872, allocations: 1.375 kB / 0.5224 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.3872, allocations: 6.75 kB / 0.5224 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.3874, allocations: 54.02 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3874, allocations: 1.062 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.3874, allocations: 0.7031 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3874, allocations: 1.062 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.281e-05/0.3875, allocations: 22.58 kB / 0.5224 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003131/0.3878, allocations: 297.2 kB / 0.5227 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.388, allocations: 56.64 kB / 0.5228 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.17e-05/0.388, allocations: 19.89 kB / 0.5228 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.3881, allocations: 1.828 kB / 0.5228 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.3882, allocations: 72.66 kB / 0.5229 GB, free: 52 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.3882, allocations: 0 / 0.5229 GB, free: 52 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005942/0.3888, allocations: 183.6 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.3889, allocations: 57.47 kB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.3892, allocations: 266.3 kB / 0.5233 GB, free: 15.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.3892, allocations: 30.41 kB / 0.5234 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.186e-05/0.3893, allocations: 114.9 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.3894, allocations: 26.98 kB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.3894, allocations: 25.45 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3896, allocations: 329.1 kB / 0.5239 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.222e-05/0.3897, allocations: 16.94 kB / 0.5239 GB, free: 15.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.965e-05/0.3897, allocations: 35.05 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.3899, allocations: 67.5 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3899, allocations: 0 / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001872/0.3901, allocations: 103.1 kB / 0.5241 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3901, allocations: 9.75 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3901, allocations: 0 / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3901, allocations: 2.141 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.242e-05/0.3902, allocations: 22.33 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3902, allocations: 2.297 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.3903, allocations: 6.016 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3903, allocations: 8.094 kB / 0.5241 GB, free: 15.09 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.0001302/0.3904, allocations: 141.1 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.3905, allocations: 15.38 kB / 0.5243 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.933e-05/0.3905, allocations: 19.7 kB / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3905, allocations: 0.5625 kB / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3905, allocations: 0 / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3906, allocations: 5.797 kB / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000497/0.3911, allocations: 401.6 kB / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.3911, allocations: 0 / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.3911, allocations: 16.78 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3911, allocations: 5.609 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3911, allocations: 2.938 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3912, allocations: 1.156 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3912, allocations: 0 / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.3914, allocations: 207.3 kB / 0.5249 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.3915, allocations: 89.83 kB / 0.525 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.3915, allocations: 14.59 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.3916, allocations: 6.422 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.3916, allocations: 5.984 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.3916, allocations: 4.5 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.3918, allocations: 207.5 kB / 0.5252 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3918, allocations: 0 / 0.5252 GB, free: 14.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000254/0.3921, allocations: 27.41 kB / 0.5252 GB, free: 14.16 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.002119/0.3942, allocations: 1.097 MB / 0.5263 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.3944, allocations: 59.42 kB / 0.5264 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.3945, allocations: 4 kB / 0.5264 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.447e-05/0.3945, allocations: 29.78 kB / 0.5264 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.3949, allocations: 33.23 kB / 0.5264 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.3971, allocations: 1.811 MB / 0.5282 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.3975, allocations: 0.7202 MB / 0.5289 GB, free: 11.17 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.117e-05/0.3976, allocations: 12.44 kB / 0.5289 GB, free: 11.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.091e-05/0.3977, allocations: 41.5 kB / 0.5289 GB, free: 11.14 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3977, allocations: 0 / 0.5289 GB, free: 11.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.4224, allocations: 3.709 MB / 0.5326 GB, free: 9.496 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.811/8.233, allocations: 10.17 kB / 0.5326 GB, free: 9.488 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_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_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches