Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",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.001554/0.001554, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001674/0.001675, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.505/1.505, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2543/0.2543, allocations: 44.18 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 67.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.375, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002722/0.3778, allocations: 1.712 MB / 0.5202 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.3796, allocations: 1.481 MB / 0.5216 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.91e-05/0.3797, allocations: 1.188 kB / 0.5216 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.38, allocations: 43.44 kB / 0.5217 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.3802, allocations: 52.31 kB / 0.5217 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.3805, allocations: 113.3 kB / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.3807, allocations: 96.41 kB / 0.5219 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3808, allocations: 12.98 kB / 0.5219 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.358e-05/0.3809, allocations: 45.11 kB / 0.522 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.3811, allocations: 38.7 kB / 0.522 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.3811, allocations: 4.438 kB / 0.522 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.3812, allocations: 62.44 kB / 0.5221 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.843e-05/0.3813, allocations: 15.09 kB / 0.5221 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.027e-05/0.3813, allocations: 30.05 kB / 0.5221 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.3816, allocations: 121 kB / 0.5222 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3816, allocations: 0.75 kB / 0.5222 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3816, allocations: 5.062 kB / 0.5222 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.3816, allocations: 0 / 0.5222 GB, free: 0.7578 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.0005002/0.3821, allocations: 417.2 kB / 0.5226 GB, free: 352 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3821, allocations: 9.062 kB / 0.5227 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.3822, allocations: 33.53 kB / 0.5227 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.3822, allocations: 8.641 kB / 0.5227 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.3825, allocations: 202 kB / 0.5229 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.3825, allocations: 2.109 kB / 0.5229 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.3825, allocations: 10.53 kB / 0.5229 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3827, allocations: 82.66 kB / 0.523 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3827, allocations: 0 / 0.523 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3827, allocations: 1.688 kB / 0.523 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3827, allocations: 0.9062 kB / 0.523 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.61e-05/0.3828, allocations: 18.08 kB / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.3832, allocations: 284.1 kB / 0.5233 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.3834, allocations: 59.86 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.817e-05/0.3835, allocations: 21.28 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.3835, allocations: 4 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.3837, allocations: 63.02 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.3837, allocations: 4 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00056/0.3843, allocations: 175.4 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/0.3843, allocations: 78.84 kB / 0.5237 GB, free: 15.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.3845, allocations: 154.1 kB / 0.5238 GB, free: 15.31 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3846, allocations: 30.27 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.3846, allocations: 93.98 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.3847, allocations: 25.77 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.3847, allocations: 22.84 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3849, allocations: 325.6 kB / 0.5243 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.208e-05/0.385, allocations: 21.41 kB / 0.5243 GB, free: 14.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.923e-05/0.385, allocations: 49.22 kB / 0.5243 GB, free: 14.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.3852, allocations: 57.59 kB / 0.5244 GB, free: 14.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3852, allocations: 0 / 0.5244 GB, free: 14.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001942/0.3854, allocations: 101.4 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3854, allocations: 5.125 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.3854, allocations: 5.172 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3854, allocations: 0.6094 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.891e-05/0.3855, allocations: 15.86 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3855, allocations: 1.344 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.509e-05/0.3856, allocations: 11.98 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.3856, allocations: 3.031 kB / 0.5245 GB, free: 14.67 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.000107/0.3857, allocations: 124.4 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.3858, allocations: 13.98 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.3858, allocations: 18.06 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3858, allocations: 1.688 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.3858, allocations: 0.6094 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3858, allocations: 7.875 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.3863, allocations: 389.5 kB / 0.5251 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3863, allocations: 0 / 0.5251 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.3864, allocations: 17.94 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3864, allocations: 3.938 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.3864, allocations: 2.297 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3864, allocations: 1.5 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3864, allocations: 2.266 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.3867, allocations: 203.5 kB / 0.5253 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.3867, allocations: 83.55 kB / 0.5254 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.3868, allocations: 10.33 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.3869, allocations: 8.812 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.3869, allocations: 5.578 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.3869, allocations: 3.203 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.387, allocations: 115.9 kB / 0.5255 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.387, allocations: 0 / 0.5255 GB, free: 13.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.3873, allocations: 31.83 kB / 0.5255 GB, free: 13.79 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.002274/0.3896, allocations: 1.14 MB / 0.5266 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.3898, allocations: 57 kB / 0.5267 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3898, allocations: 0 / 0.5267 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/0.3899, allocations: 32.66 kB / 0.5267 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.3903, allocations: 36.92 kB / 0.5268 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.3921, allocations: 1.54 MB / 0.5283 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.3924, allocations: 0.6962 MB / 0.529 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.017e-05/0.3925, allocations: 22.75 kB / 0.529 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.304e-05/0.3926, allocations: 33.47 kB / 0.529 GB, free: 10.85 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3926, allocations: 0 / 0.529 GB, free: 10.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.4227, allocations: 3.554 MB / 0.5325 GB, free: 9.227 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.392, allocations: 1 kB / 0.5325 GB, free: 9.227 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches