Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",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.001283/0.001283, allocations: 113.3 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.001249/0.00125, 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.469/1.469, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.216/0.216, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 67.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3463, allocations: 60.82 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002876/0.3492, allocations: 1.698 MB / 0.5202 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.3506, allocations: 0.8783 MB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.633e-05/0.3507, allocations: 4.906 kB / 0.521 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.3511, allocations: 36.08 kB / 0.5211 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.3513, allocations: 58.81 kB / 0.5211 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.3516, allocations: 110.4 kB / 0.5212 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.3518, allocations: 91.94 kB / 0.5213 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3519, allocations: 16.2 kB / 0.5213 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.272e-05/0.352, allocations: 44.78 kB / 0.5214 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.572e-05/0.3521, allocations: 29.53 kB / 0.5214 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.3521, allocations: 3.312 kB / 0.5214 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3522, allocations: 42.25 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.299e-05/0.3523, allocations: 22.56 kB / 0.5215 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.3523, allocations: 33.17 kB / 0.5215 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.3525, allocations: 111.5 kB / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3526, allocations: 0 / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3526, allocations: 0 / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3526, allocations: 5.094 kB / 0.5216 GB, free: 1.23 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.0004711/0.353, allocations: 419 kB / 0.522 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3531, allocations: 9.688 kB / 0.522 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.353e-05/0.3531, allocations: 32.89 kB / 0.5221 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.3532, allocations: 9.453 kB / 0.5221 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.3534, allocations: 210.7 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3534, allocations: 1.5 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.3535, allocations: 6.906 kB / 0.5223 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.3536, allocations: 65.84 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3536, allocations: 3.938 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3536, allocations: 1.75 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3536, allocations: 5.344 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.291e-05/0.3537, allocations: 17.5 kB / 0.5224 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.354, allocations: 286.4 kB / 0.5226 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.3542, allocations: 64.56 kB / 0.5227 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.93e-05/0.3543, allocations: 19.56 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.3543, allocations: 2.094 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.3544, allocations: 65.77 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.3544, allocations: 0 / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005169/0.355, allocations: 168.2 kB / 0.5229 GB, free: 8 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.355, allocations: 60.75 kB / 0.523 GB, free: 15.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.3553, allocations: 190.5 kB / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.3553, allocations: 26.8 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.589e-05/0.3554, allocations: 108.6 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.3554, allocations: 25.55 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.3555, allocations: 23.16 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3556, allocations: 321 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.279e-05/0.3557, allocations: 22.09 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.127e-05/0.3558, allocations: 43.84 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.3559, allocations: 56.8 kB / 0.5238 GB, free: 15.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3559, allocations: 0 / 0.5238 GB, free: 15.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000191/0.3561, allocations: 106.1 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3561, allocations: 6.062 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3561, allocations: 0 / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3562, allocations: 5.25 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.763e-05/0.3562, allocations: 15.09 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3563, allocations: 2.781 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.3563, allocations: 5.984 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.3563, allocations: 7.094 kB / 0.5239 GB, free: 15.17 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.0001197/0.3565, allocations: 124.7 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.3565, allocations: 14.59 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/0.3565, allocations: 15.3 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3565, allocations: 1.812 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3566, allocations: 7.984 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3566, allocations: 4.828 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.3571, allocations: 393.1 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3571, allocations: 5.438 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-05/0.3571, allocations: 8.672 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.3572, allocations: 9 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3572, allocations: 2.984 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3572, allocations: 1.766 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3572, allocations: 4.031 kB / 0.5245 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.3574, allocations: 196.8 kB / 0.5247 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/0.3575, allocations: 90.38 kB / 0.5248 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.3576, allocations: 13.22 kB / 0.5248 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.3576, allocations: 2.797 kB / 0.5248 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.3577, allocations: 5.969 kB / 0.5248 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.3577, allocations: 8.375 kB / 0.5248 GB, free: 14.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.3578, allocations: 143.2 kB / 0.5249 GB, free: 14.28 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3578, allocations: 0 / 0.5249 GB, free: 14.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.3581, allocations: 26.25 kB / 0.5249 GB, free: 14.27 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.002151/0.3603, allocations: 1.107 MB / 0.526 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.3605, allocations: 51.75 kB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3605, allocations: 0 / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.52e-05/0.3606, allocations: 38.25 kB / 0.5261 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.3609, allocations: 29.19 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.3628, allocations: 1.635 MB / 0.5277 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.3632, allocations: 0.7048 MB / 0.5284 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.67e-05/0.3633, allocations: 13.11 kB / 0.5284 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.033e-05/0.3633, allocations: 35.83 kB / 0.5285 GB, free: 11.32 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3634, allocations: 0 / 0.5285 GB, free: 11.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.3885, allocations: 3.377 MB / 0.5318 GB, free: 9.875 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.231, allocations: 11.73 kB / 0.5318 GB, free: 9.867 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_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_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches