Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",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.001203/0.001203, allocations: 117.2 kB / 17.78 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.001127/0.001127, allocations: 184.2 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.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2076/0.2076, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.345, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002489/0.3476, allocations: 1.713 MB / 0.5202 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3487, allocations: 0.8778 MB / 0.521 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.496e-05/0.3488, allocations: 1.188 kB / 0.521 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.349, allocations: 39.41 kB / 0.5211 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.3492, allocations: 65.67 kB / 0.5211 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.3495, allocations: 109.6 kB / 0.5212 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.3497, allocations: 92.06 kB / 0.5213 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.077e-05/0.3498, allocations: 15.8 kB / 0.5214 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.926e-05/0.3498, allocations: 46.09 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.325e-05/0.3499, allocations: 25.5 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.3499, allocations: 4.875 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.207e-05/0.35, allocations: 42.22 kB / 0.5215 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.3501, allocations: 24.55 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.3501, allocations: 41.56 kB / 0.5215 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.3503, allocations: 119.6 kB / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3503, allocations: 1.828 kB / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3503, allocations: 0 / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.3503, allocations: 0 / 0.5216 GB, free: 1.203 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.0004337/0.3508, allocations: 435.1 kB / 0.5221 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3508, allocations: 9.938 kB / 0.5221 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.883e-05/0.3509, allocations: 32.33 kB / 0.5221 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.3509, allocations: 15.56 kB / 0.5221 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.3511, allocations: 211.8 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3511, allocations: 2.188 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.3511, allocations: 6.156 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.3513, allocations: 58.05 kB / 0.5224 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.3513, allocations: 5.062 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.3513, allocations: 0.6094 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3513, allocations: 1.188 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.672e-05/0.3514, allocations: 22.84 kB / 0.5224 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002637/0.3517, allocations: 288.9 kB / 0.5227 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.3518, allocations: 69.23 kB / 0.5227 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.886e-05/0.3519, allocations: 19.23 kB / 0.5228 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.3519, allocations: 0.8438 kB / 0.5228 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.3521, allocations: 66.77 kB / 0.5228 GB, free: 52 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.3521, allocations: 0 / 0.5228 GB, free: 52 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005149/0.3526, allocations: 177 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.3526, allocations: 62.22 kB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.3529, allocations: 222.8 kB / 0.5233 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3529, allocations: 26.77 kB / 0.5233 GB, free: 15.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.353, allocations: 108.7 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.353, allocations: 30.73 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.353, allocations: 22.62 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3532, allocations: 326.8 kB / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.662e-05/0.3532, allocations: 17.11 kB / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.566e-05/0.3533, allocations: 43.61 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.3534, allocations: 58.11 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3534, allocations: 0 / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001827/0.3536, allocations: 103.5 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3536, allocations: 4.297 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3536, allocations: 7.375 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3537, allocations: 384 / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.56e-05/0.3538, allocations: 17.94 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.3538, allocations: 1.594 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.3538, allocations: 15.17 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.3538, allocations: 2.438 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.0001077/0.3539, allocations: 134.6 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.354, allocations: 18.31 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.404e-05/0.354, allocations: 17.3 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.354, allocations: 1.219 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3541, allocations: 5.688 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3541, allocations: 4.5 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.3545, allocations: 393.5 kB / 0.5246 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3545, allocations: 1.438 kB / 0.5246 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.3546, allocations: 8.406 kB / 0.5246 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3546, allocations: 5.891 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.3546, allocations: 2.062 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3546, allocations: 1.688 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.3546, allocations: 0.6562 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.3548, allocations: 221.6 kB / 0.5248 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.3549, allocations: 84.81 kB / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.3549, allocations: 10.81 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/0.355, allocations: 2.922 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.3551, allocations: 5.812 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.3551, allocations: 7.953 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.3552, allocations: 175 kB / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3553, allocations: 0 / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000262/0.3555, allocations: 26.89 kB / 0.5251 GB, free: 14.19 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.001418/0.3569, allocations: 1.089 MB / 0.5262 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.3571, allocations: 56.31 kB / 0.5262 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3572, allocations: 0 / 0.5262 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.679e-05/0.3572, allocations: 36.2 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.0003425/0.3576, allocations: 35.08 kB / 0.5263 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.3594, allocations: 1.723 MB / 0.528 GB, free: 11.94 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.3597, allocations: 0.7177 MB / 0.5287 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.853e-05/0.3598, allocations: 21.86 kB / 0.5287 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.673e-05/0.3599, allocations: 42.75 kB / 0.5287 GB, free: 11.2 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3599, allocations: 1.375 kB / 0.5287 GB, free: 11.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.3793, allocations: 3.538 MB / 0.5322 GB, free: 9.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/8.073, allocations: 0.875 kB / 0.5322 GB, free: 9.66 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_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_Test53.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches