Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",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.001091/0.001091, allocations: 112.1 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.001218/0.001218, allocations: 179.9 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.32/1.32, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2048/0.2048, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 67.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3826, allocations: 60.83 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003094/0.3857, allocations: 1.705 MB / 0.5202 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.3872, allocations: 0.8727 MB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.3873, allocations: 1.25 kB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003704/0.3877, allocations: 46.25 kB / 0.5211 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.388, allocations: 57.62 kB / 0.5211 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.3884, allocations: 114 kB / 0.5212 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.3887, allocations: 96.78 kB / 0.5213 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3888, allocations: 11.09 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.3889, allocations: 41.16 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.441e-05/0.389, allocations: 30.86 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.389, allocations: 4.375 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.3892, allocations: 42.08 kB / 0.5215 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.139e-05/0.3892, allocations: 28.45 kB / 0.5215 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.433e-05/0.3893, allocations: 42.09 kB / 0.5215 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.3896, allocations: 119.8 kB / 0.5216 GB, free: 1.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3896, allocations: 1.375 kB / 0.5216 GB, free: 1.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3896, allocations: 4 kB / 0.5216 GB, free: 1.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3896, allocations: 0 / 0.5216 GB, free: 1.211 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.0006417/0.3903, allocations: 431.9 kB / 0.5221 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.3903, allocations: 8.906 kB / 0.5221 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.3904, allocations: 32.66 kB / 0.5221 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.3904, allocations: 14.95 kB / 0.5221 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.3907, allocations: 216 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3908, allocations: 3.281 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.3908, allocations: 5.859 kB / 0.5223 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.3909, allocations: 61.36 kB / 0.5224 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.391, allocations: 1.156 kB / 0.5224 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.391, allocations: 0.6562 kB / 0.5224 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.391, allocations: 1.156 kB / 0.5224 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.707e-05/0.3911, allocations: 22.09 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.3914, allocations: 289.9 kB / 0.5227 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.3916, allocations: 64.62 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.297e-05/0.3916, allocations: 19.95 kB / 0.5228 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.3917, allocations: 1.906 kB / 0.5228 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.3918, allocations: 65.25 kB / 0.5228 GB, free: 64 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.3918, allocations: 0 / 0.5228 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005695/0.3924, allocations: 181.7 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.3925, allocations: 56.53 kB / 0.5231 GB, free: 15.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.3927, allocations: 223.9 kB / 0.5233 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.3927, allocations: 26.86 kB / 0.5233 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.3928, allocations: 113 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.3928, allocations: 26.31 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.3929, allocations: 21.94 kB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.393, allocations: 327.9 kB / 0.5238 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.619e-05/0.393, allocations: 21.55 kB / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.807e-05/0.3931, allocations: 35.36 kB / 0.5238 GB, free: 15.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.3932, allocations: 61.48 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3932, allocations: 0 / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001958/0.3934, allocations: 102.3 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3935, allocations: 5.844 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.3935, allocations: 7.969 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3935, allocations: 2.172 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.981e-05/0.3936, allocations: 19.25 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3936, allocations: 2.078 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.716e-05/0.3937, allocations: 13.94 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3937, allocations: 2.875 kB / 0.524 GB, free: 15.11 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.000104/0.3938, allocations: 134.5 kB / 0.5241 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.3938, allocations: 17.42 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.236e-05/0.3939, allocations: 21.77 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3939, allocations: 1.312 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3939, allocations: 1.469 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.3939, allocations: 4.781 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.3944, allocations: 394 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3944, allocations: 3.938 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/0.3944, allocations: 8.703 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3945, allocations: 6.016 kB / 0.5246 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3945, allocations: 2.156 kB / 0.5246 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.3945, allocations: 5.906 kB / 0.5246 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3945, allocations: 0 / 0.5246 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.3947, allocations: 206.1 kB / 0.5248 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.3948, allocations: 84.91 kB / 0.5249 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.3948, allocations: 10.89 kB / 0.5249 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.3949, allocations: 2.844 kB / 0.5249 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.395, allocations: 10.12 kB / 0.5249 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.395, allocations: 4.109 kB / 0.5249 GB, free: 14.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.3952, allocations: 175.7 kB / 0.5251 GB, free: 14.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3952, allocations: 0 / 0.5251 GB, free: 14.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.3954, allocations: 25.34 kB / 0.5251 GB, free: 14.21 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.00166/0.3971, allocations: 1.104 MB / 0.5262 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.3973, allocations: 60.27 kB / 0.5262 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3974, allocations: 4.062 kB / 0.5262 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.306e-05/0.3975, allocations: 29.31 kB / 0.5263 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.3978, allocations: 26.59 kB / 0.5263 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.4001, allocations: 1.723 MB / 0.528 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.4004, allocations: 0.7228 MB / 0.5287 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.173e-05/0.4005, allocations: 19.95 kB / 0.5287 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.184e-05/0.4006, allocations: 41.14 kB / 0.5287 GB, free: 11.21 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4006, allocations: 0 / 0.5287 GB, free: 11.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.4216, allocations: 3.541 MB / 0.5322 GB, free: 9.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.682/8.104, allocations: 8.812 kB / 0.5322 GB, free: 9.648 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_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_Test51.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches