Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",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.001399/0.001398, allocations: 118.4 kB / 17.79 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.001239/0.00124, allocations: 183.8 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.391/1.391, 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.2252/0.2252, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 75.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3394, allocations: 60.82 MB / 0.5185 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002748/0.3422, allocations: 1.705 MB / 0.5202 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.3437, allocations: 0.8714 MB / 0.521 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.83e-05/0.3438, allocations: 5.375 kB / 0.521 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.3442, allocations: 37.95 kB / 0.5211 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.3444, allocations: 55.41 kB / 0.5211 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.3447, allocations: 114.2 kB / 0.5212 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.3449, allocations: 91.72 kB / 0.5213 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.345, allocations: 15.81 kB / 0.5213 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.828e-05/0.3451, allocations: 45.25 kB / 0.5214 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.605e-05/0.3452, allocations: 32.83 kB / 0.5214 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.3452, allocations: 3.969 kB / 0.5214 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.3454, allocations: 43.45 kB / 0.5215 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.359e-05/0.3454, allocations: 22.58 kB / 0.5215 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.503e-05/0.3455, allocations: 37.84 kB / 0.5215 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.3457, allocations: 112.5 kB / 0.5216 GB, free: 1.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3457, allocations: 0 / 0.5216 GB, free: 1.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3457, allocations: 1.219 kB / 0.5216 GB, free: 1.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.3457, allocations: 0 / 0.5216 GB, free: 1.09 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.0005332/0.3463, allocations: 427.9 kB / 0.522 GB, free: 0.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3463, allocations: 9.906 kB / 0.522 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.506e-05/0.3464, allocations: 36.23 kB / 0.5221 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.3464, allocations: 11.25 kB / 0.5221 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.3467, allocations: 210.3 kB / 0.5223 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.3467, allocations: 2.469 kB / 0.5223 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.3467, allocations: 11.34 kB / 0.5223 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.3469, allocations: 54.06 kB / 0.5223 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.3469, allocations: 3.938 kB / 0.5224 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3469, allocations: 9.062 kB / 0.5224 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3469, allocations: 0.6562 kB / 0.5224 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.661e-05/0.347, allocations: 18.17 kB / 0.5224 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.3474, allocations: 284.3 kB / 0.5226 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.3476, allocations: 55.31 kB / 0.5227 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.423e-05/0.3477, allocations: 28.7 kB / 0.5227 GB, free: 0 / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.3477, allocations: 0.9062 kB / 0.5227 GB, free: 0 / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.3479, allocations: 66.77 kB / 0.5228 GB, free: 15.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.3479, allocations: 0 / 0.5228 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006326/0.3486, allocations: 181 kB / 0.523 GB, free: 15.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.3486, allocations: 55.92 kB / 0.523 GB, free: 15.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.3489, allocations: 209.8 kB / 0.5232 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.3489, allocations: 26.89 kB / 0.5232 GB, free: 15.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.765e-05/0.349, allocations: 104.9 kB / 0.5233 GB, free: 15.51 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.3491, allocations: 22.23 kB / 0.5234 GB, free: 15.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.3491, allocations: 25.86 kB / 0.5234 GB, free: 15.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3493, allocations: 322.2 kB / 0.5237 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.706e-05/0.3494, allocations: 21.36 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.557e-05/0.3495, allocations: 42.91 kB / 0.5238 GB, free: 15.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.3496, allocations: 65.92 kB / 0.5238 GB, free: 15.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3496, allocations: 0 / 0.5238 GB, free: 15.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002037/0.3498, allocations: 105.5 kB / 0.5239 GB, free: 15.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3498, allocations: 6.266 kB / 0.5239 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3499, allocations: 0 / 0.5239 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3499, allocations: 1.125 kB / 0.5239 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.335e-05/0.35, allocations: 15.42 kB / 0.5239 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.35, allocations: 5.828 kB / 0.524 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.702e-05/0.35, allocations: 7.453 kB / 0.524 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3501, allocations: 7.25 kB / 0.524 GB, free: 15 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.000128/0.3502, allocations: 121.9 kB / 0.5241 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.3502, allocations: 14.27 kB / 0.5241 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.893e-05/0.3503, allocations: 20.19 kB / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3503, allocations: 1.828 kB / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3503, allocations: 0 / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.3503, allocations: 6.172 kB / 0.5241 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.3508, allocations: 393.8 kB / 0.5245 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3509, allocations: 1.922 kB / 0.5245 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.631e-05/0.3509, allocations: 12.28 kB / 0.5245 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3509, allocations: 4.969 kB / 0.5245 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3509, allocations: 6.828 kB / 0.5245 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3509, allocations: 1.312 kB / 0.5245 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3509, allocations: 0 / 0.5245 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.3512, allocations: 201.5 kB / 0.5247 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.3513, allocations: 90.23 kB / 0.5248 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.3513, allocations: 10.48 kB / 0.5248 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.3514, allocations: 2.688 kB / 0.5248 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.3514, allocations: 9.672 kB / 0.5248 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.3515, allocations: 4.484 kB / 0.5248 GB, free: 14.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001594/0.3516, allocations: 149.8 kB / 0.525 GB, free: 14.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3516, allocations: 6.125 kB / 0.525 GB, free: 14.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.3519, allocations: 24.78 kB / 0.525 GB, free: 14.11 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.002187/0.3541, allocations: 1.098 MB / 0.5261 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.3543, allocations: 60.86 kB / 0.5261 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3543, allocations: 0 / 0.5261 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.034e-05/0.3544, allocations: 31.75 kB / 0.5262 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.3548, allocations: 34.61 kB / 0.5262 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.3569, allocations: 1.658 MB / 0.5278 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.3573, allocations: 0.7081 MB / 0.5285 GB, free: 11.17 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.35e-05/0.3574, allocations: 25.34 kB / 0.5285 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.778e-05/0.3575, allocations: 34.91 kB / 0.5286 GB, free: 11.14 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3575, allocations: 0 / 0.5286 GB, free: 11.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.3833, allocations: 3.431 MB / 0.5319 GB, free: 9.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.884/8.268, allocations: 5 kB / 0.5319 GB, free: 9.688 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_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_Test44.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches