Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",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.001207/0.001207, allocations: 108.8 kB / 17.78 MB, free: 5.266 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.001207/0.001207, allocations: 184.1 kB / 18.71 MB, free: 4.34 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.422/1.422, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2149/0.2149, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 67.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3757, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002955/0.3787, allocations: 1.706 MB / 0.5202 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.3799, allocations: 0.8744 MB / 0.521 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.419e-05/0.38, allocations: 1.062 kB / 0.521 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.3803, allocations: 38 kB / 0.5211 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.3805, allocations: 57.56 kB / 0.5211 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.3808, allocations: 113.9 kB / 0.5212 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.381, allocations: 99.86 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3811, allocations: 8.625 kB / 0.5213 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.202e-05/0.3812, allocations: 42.08 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.511e-05/0.3813, allocations: 29.58 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.3813, allocations: 3.656 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.822e-05/0.3814, allocations: 42.28 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.3815, allocations: 21.61 kB / 0.5215 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.031e-05/0.3815, allocations: 33.47 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.3818, allocations: 116.8 kB / 0.5216 GB, free: 1.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3818, allocations: 0.6562 kB / 0.5216 GB, free: 1.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3818, allocations: 1 kB / 0.5216 GB, free: 1.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.3818, allocations: 0 / 0.5216 GB, free: 1.219 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.0004962/0.3823, allocations: 404.8 kB / 0.522 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3824, allocations: 10.25 kB / 0.522 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.949e-05/0.3824, allocations: 40.2 kB / 0.522 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.3824, allocations: 17.67 kB / 0.5221 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.3827, allocations: 201.7 kB / 0.5223 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.3827, allocations: 2.781 kB / 0.5223 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.3827, allocations: 14.83 kB / 0.5223 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.3829, allocations: 49.69 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3829, allocations: 4 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3829, allocations: 0.8438 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3829, allocations: 1.094 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.673e-05/0.383, allocations: 18.67 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.3833, allocations: 284.6 kB / 0.5226 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.3835, allocations: 57.2 kB / 0.5227 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.3836, allocations: 20.02 kB / 0.5227 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.3836, allocations: 5.156 kB / 0.5227 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.3838, allocations: 69.45 kB / 0.5228 GB, free: 96 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3838, allocations: 0 / 0.5228 GB, free: 96 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000533/0.3843, allocations: 180.2 kB / 0.5229 GB, free: 0 / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.3844, allocations: 56.97 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.3846, allocations: 175.5 kB / 0.5231 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.3846, allocations: 26.89 kB / 0.5232 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.49e-05/0.3847, allocations: 98.91 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.3847, allocations: 38.36 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.3848, allocations: 21.5 kB / 0.5233 GB, free: 15.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3849, allocations: 326.1 kB / 0.5236 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.991e-05/0.385, allocations: 20.41 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.3851, allocations: 35.75 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.3852, allocations: 61.91 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3852, allocations: 0 / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001815/0.3854, allocations: 101.6 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3854, allocations: 5.438 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3854, allocations: 1.094 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3854, allocations: 1 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.3855, allocations: 15.8 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3855, allocations: 2.016 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.3856, allocations: 10.11 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.3856, allocations: 3.281 kB / 0.5239 GB, free: 15.18 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 9.61e-05/0.3857, allocations: 131.9 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.3857, allocations: 13.88 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.19e-05/0.3858, allocations: 23.47 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3858, allocations: 0.7969 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3858, allocations: 0 / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3858, allocations: 7.734 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.3862, allocations: 385 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3862, allocations: 1.578 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.3863, allocations: 8.656 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.3863, allocations: 5.062 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.3863, allocations: 1.875 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3863, allocations: 2.328 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3863, allocations: 1.094 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.3866, allocations: 208 kB / 0.5246 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.3866, allocations: 88.45 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.3866, allocations: 16.02 kB / 0.5247 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.3867, allocations: 2.094 kB / 0.5247 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.3868, allocations: 5.328 kB / 0.5247 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.3868, allocations: 8.922 kB / 0.5248 GB, free: 14.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.3869, allocations: 134 kB / 0.5249 GB, free: 14.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3869, allocations: 1.188 kB / 0.5249 GB, free: 14.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.3872, allocations: 24.84 kB / 0.5249 GB, free: 14.28 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.001561/0.3887, allocations: 1.09 MB / 0.526 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.389, allocations: 60.92 kB / 0.526 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.389, allocations: 3.938 kB / 0.526 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.731e-05/0.389, allocations: 24.98 kB / 0.5261 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.3894, allocations: 34.73 kB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.3911, allocations: 1.614 MB / 0.5277 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.3913, allocations: 0.7004 MB / 0.5283 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.182e-05/0.3914, allocations: 13.38 kB / 0.5284 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/0.3915, allocations: 35.67 kB / 0.5284 GB, free: 11.33 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3915, allocations: 0 / 0.5284 GB, free: 11.33 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.412, allocations: 3.312 MB / 0.5316 GB, free: 9.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/8.016, allocations: 11.39 kB / 0.5316 GB, free: 9.926 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_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_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches