Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",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.001502/0.001502, allocations: 113.8 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.002049/0.002049, 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.341/1.341, 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.1941/0.1941, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.91 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3481, allocations: 60.83 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002791/0.3509, allocations: 1.702 MB / 0.5202 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3521, allocations: 0.8719 MB / 0.521 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.633e-05/0.3522, allocations: 1.219 kB / 0.521 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.3525, allocations: 42.34 kB / 0.5211 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.3527, allocations: 62.36 kB / 0.5211 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.353, allocations: 113.9 kB / 0.5212 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.3531, allocations: 95.81 kB / 0.5213 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.855e-05/0.3532, allocations: 7.609 kB / 0.5213 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.188e-05/0.3533, allocations: 49.45 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.3534, allocations: 30.88 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.3534, allocations: 3.188 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.65e-05/0.3535, allocations: 42.59 kB / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.3536, allocations: 25.77 kB / 0.5215 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/0.3536, allocations: 36.89 kB / 0.5215 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.3538, allocations: 125.5 kB / 0.5216 GB, free: 1.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3538, allocations: 0 / 0.5216 GB, free: 1.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3539, allocations: 0 / 0.5216 GB, free: 1.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.148e-06/0.3539, allocations: 0 / 0.5216 GB, free: 1.199 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.0005058/0.3544, allocations: 435.2 kB / 0.5221 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3544, allocations: 9.969 kB / 0.5221 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.097e-05/0.3545, allocations: 32.62 kB / 0.5221 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.3545, allocations: 11.56 kB / 0.5221 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.3547, allocations: 216.1 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.3548, allocations: 1.406 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.3548, allocations: 7.125 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.3549, allocations: 57.16 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3549, allocations: 5.094 kB / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.355, allocations: 0.7031 kB / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.355, allocations: 1.125 kB / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.166e-05/0.355, allocations: 21.52 kB / 0.5224 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.3554, allocations: 295.1 kB / 0.5227 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.3556, allocations: 63.86 kB / 0.5227 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/0.3556, allocations: 24.62 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.3556, allocations: 0 / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.3558, allocations: 65.8 kB / 0.5228 GB, free: 44 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3558, allocations: 0 / 0.5228 GB, free: 44 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005511/0.3563, allocations: 186.8 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.3564, allocations: 57.19 kB / 0.5231 GB, free: 15.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.3566, allocations: 226.6 kB / 0.5233 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3567, allocations: 26.41 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.3567, allocations: 106 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.3568, allocations: 29.23 kB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.3568, allocations: 26.3 kB / 0.5235 GB, free: 15.56 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.357, allocations: 323.7 kB / 0.5238 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.994e-05/0.357, allocations: 21.64 kB / 0.5238 GB, free: 15.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.881e-05/0.3571, allocations: 43.11 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.3572, allocations: 53.98 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.3572, allocations: 0 / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001861/0.3574, allocations: 105.5 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3574, allocations: 6.547 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3575, allocations: 3.938 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3575, allocations: 1.5 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.705e-05/0.3576, allocations: 20.25 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3576, allocations: 0.7031 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.3576, allocations: 7.297 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3576, allocations: 2.719 kB / 0.524 GB, free: 15.1 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.894e-05/0.3577, allocations: 134.6 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.3578, allocations: 14.12 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.3578, allocations: 18.88 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3578, allocations: 0 / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3578, allocations: 1.625 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3579, allocations: 8.641 kB / 0.5242 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.3583, allocations: 398 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3583, allocations: 384 / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.3584, allocations: 9.156 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.3584, allocations: 4.969 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.3584, allocations: 6.859 kB / 0.5246 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3584, allocations: 0.9375 kB / 0.5246 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3584, allocations: 0.9062 kB / 0.5246 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.3587, allocations: 213.2 kB / 0.5248 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.3587, allocations: 85.67 kB / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.3588, allocations: 7.094 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.126e-05/0.3588, allocations: 2.578 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.3589, allocations: 9.828 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.3589, allocations: 4.641 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.359, allocations: 177.9 kB / 0.5251 GB, free: 14.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.359, allocations: 1.375 kB / 0.5251 GB, free: 14.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.3593, allocations: 26 kB / 0.5251 GB, free: 14.18 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.001415/0.3607, allocations: 1.101 MB / 0.5262 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.3609, allocations: 57.62 kB / 0.5262 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3609, allocations: 0 / 0.5262 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.002e-05/0.361, allocations: 27.72 kB / 0.5263 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.3613, allocations: 38.86 kB / 0.5263 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.3632, allocations: 1.722 MB / 0.528 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.3635, allocations: 0.7148 MB / 0.5287 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.257e-05/0.3635, allocations: 16.69 kB / 0.5287 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/0.3636, allocations: 40.41 kB / 0.5287 GB, free: 11.2 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3636, allocations: 0 / 0.5287 GB, free: 11.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.3834, allocations: 3.548 MB / 0.5322 GB, free: 9.633 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/8.095, allocations: 4.281 kB / 0.5322 GB, free: 9.633 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_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_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches