Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",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.00185/0.00185, 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.002294/0.002295, allocations: 185 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.45/1.45, 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.2249/0.2249, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002989/0.002989, allocations: 63.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3484, allocations: 60.83 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002616/0.351, allocations: 1.662 MB / 0.5201 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.3522, allocations: 0.8504 MB / 0.521 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.059e-05/0.3522, allocations: 5.031 kB / 0.521 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.3526, allocations: 77.66 kB / 0.521 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.3528, allocations: 79.34 kB / 0.5211 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.3531, allocations: 114.3 kB / 0.5212 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.3533, allocations: 98.97 kB / 0.5213 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.485e-05/0.3533, allocations: 4.469 kB / 0.5213 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.824e-05/0.3534, allocations: 53.44 kB / 0.5214 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.3535, allocations: 52.16 kB / 0.5214 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.3535, allocations: 2.594 kB / 0.5214 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.834e-05/0.3536, allocations: 34.61 kB / 0.5215 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.3537, allocations: 23.12 kB / 0.5215 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.3537, allocations: 32.28 kB / 0.5215 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.3539, allocations: 106.9 kB / 0.5216 GB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.354, allocations: 0.9688 kB / 0.5216 GB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.354, allocations: 0 / 0.5216 GB, free: 1.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.354, allocations: 0 / 0.5216 GB, free: 1.277 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004428/0.3544, allocations: 410.9 kB / 0.522 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3545, allocations: 10.12 kB / 0.522 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.7e-05/0.3545, allocations: 32.86 kB / 0.522 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.3545, allocations: 13.38 kB / 0.5221 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.3547, allocations: 215.5 kB / 0.5223 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3548, allocations: 9.75 kB / 0.5223 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.3548, allocations: 5.156 kB / 0.5223 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.3549, allocations: 46.98 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3549, allocations: 1.172 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.3549, allocations: 0 / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3549, allocations: 1.219 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.656e-05/0.355, allocations: 14.64 kB / 0.5223 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.3552, allocations: 185.1 kB / 0.5225 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.3553, allocations: 65.25 kB / 0.5226 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.613e-05/0.3554, allocations: 18.88 kB / 0.5226 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.3554, allocations: 1.062 kB / 0.5226 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.3555, allocations: 64.92 kB / 0.5227 GB, free: 240 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.3555, allocations: 0 / 0.5227 GB, free: 240 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002543/0.3558, allocations: 101 kB / 0.5228 GB, free: 180 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.3558, allocations: 57.06 kB / 0.5228 GB, free: 112 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.356, allocations: 210 kB / 0.523 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.3561, allocations: 25.7 kB / 0.523 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.3561, allocations: 102.2 kB / 0.5231 GB, free: 15.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.3562, allocations: 18.61 kB / 0.5232 GB, free: 15.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.3562, allocations: 19.83 kB / 0.5232 GB, free: 15.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3564, allocations: 327.1 kB / 0.5235 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.922e-05/0.3564, allocations: 13.41 kB / 0.5235 GB, free: 15.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.976e-05/0.3565, allocations: 30.92 kB / 0.5235 GB, free: 15.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.3566, allocations: 50.06 kB / 0.5236 GB, free: 15.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3566, allocations: 4.594 kB / 0.5236 GB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001592/0.3568, allocations: 79.88 kB / 0.5237 GB, free: 15.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3568, allocations: 10.45 kB / 0.5237 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3568, allocations: 1.125 kB / 0.5237 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.3568, allocations: 0 / 0.5237 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.581e-05/0.3569, allocations: 19.52 kB / 0.5237 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3569, allocations: 5.391 kB / 0.5237 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.357, allocations: 3.688 kB / 0.5237 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.357, allocations: 1.094 kB / 0.5237 GB, free: 15.36 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 (7): * Single equations (assignments): 7 * 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.0001479/0.3572, allocations: 132.1 kB / 0.5238 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.3572, allocations: 9.453 kB / 0.5238 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.226e-05/0.3572, allocations: 23.89 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3572, allocations: 1.859 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3572, allocations: 1.031 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3573, allocations: 0 / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.3574, allocations: 196.3 kB / 0.524 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3574, allocations: 0.6562 kB / 0.524 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.3575, allocations: 4.156 kB / 0.524 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3575, allocations: 1.406 kB / 0.524 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.3575, allocations: 4.5 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3575, allocations: 1.312 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3575, allocations: 0 / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.3577, allocations: 117.3 kB / 0.5242 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.3578, allocations: 93.05 kB / 0.5243 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.3578, allocations: 1.656 kB / 0.5243 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.522e-05/0.3578, allocations: 2.359 kB / 0.5243 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.3579, allocations: 3.422 kB / 0.5243 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.3579, allocations: 3.672 kB / 0.5243 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.358, allocations: 156.1 kB / 0.5244 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3581, allocations: 4 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002102/0.3583, allocations: 22.02 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001828/0.3601, allocations: 0.9432 MB / 0.5254 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.3603, allocations: 44.47 kB / 0.5254 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3603, allocations: 0 / 0.5254 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.362e-05/0.3604, allocations: 21.61 kB / 0.5254 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.3606, allocations: 25.3 kB / 0.5254 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.3623, allocations: 1.543 MB / 0.527 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.3627, allocations: 0.7044 MB / 0.5276 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.206e-05/0.3627, allocations: 9.625 kB / 0.5276 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.3628, allocations: 32.83 kB / 0.5277 GB, free: 11.96 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3628, allocations: 0 / 0.5277 GB, free: 11.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.3866, allocations: 3.191 MB / 0.5308 GB, free: 10.61 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.358, allocations: 14.19 kB / 0.5308 GB, free: 10.6 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches