Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",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.001854/0.001854, allocations: 113.8 kB / 17.78 MB, free: 5.277 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.002214/0.002214, allocations: 179.1 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.422/1.422, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2191/0.2191, allocations: 44.19 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 71.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3522, allocations: 60.81 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002664/0.3549, allocations: 1.708 MB / 0.5202 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.3561, allocations: 0.8677 MB / 0.521 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.3562, allocations: 3.938 kB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.3565, allocations: 34.7 kB / 0.5211 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.3567, allocations: 58.3 kB / 0.5211 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.357, allocations: 113.2 kB / 0.5212 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.3572, allocations: 96.48 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.336e-05/0.3573, allocations: 16 kB / 0.5213 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.931e-05/0.3573, allocations: 40.55 kB / 0.5214 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.776e-05/0.3574, allocations: 29.41 kB / 0.5214 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.3574, allocations: 3.281 kB / 0.5214 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.624e-05/0.3575, allocations: 43.3 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.3576, allocations: 25.48 kB / 0.5215 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.753e-05/0.3577, allocations: 29.33 kB / 0.5215 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.3579, allocations: 109.1 kB / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3579, allocations: 0 / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3579, allocations: 0 / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.3579, allocations: 5.812 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.0004501/0.3583, allocations: 408 kB / 0.522 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3584, allocations: 9.688 kB / 0.522 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.471e-05/0.3584, allocations: 32.58 kB / 0.522 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.3585, allocations: 18.03 kB / 0.5221 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.3587, allocations: 206.1 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3587, allocations: 1.688 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.3587, allocations: 7 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.3589, allocations: 57.77 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3589, allocations: 0.8906 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.3589, allocations: 1.125 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3589, allocations: 1.281 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.114e-05/0.359, allocations: 17.17 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.3593, allocations: 284.8 kB / 0.5226 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.3595, allocations: 60.69 kB / 0.5227 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.3595, allocations: 20.34 kB / 0.5227 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.3596, allocations: 5.016 kB / 0.5227 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.3597, allocations: 70.27 kB / 0.5228 GB, free: 108 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.3597, allocations: 0 / 0.5228 GB, free: 108 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005058/0.3602, allocations: 175.8 kB / 0.5229 GB, free: 16 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.3603, allocations: 61.41 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.3605, allocations: 173.5 kB / 0.5231 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.3605, allocations: 26.8 kB / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.147e-05/0.3606, allocations: 98.91 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.3606, allocations: 37.83 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.3607, allocations: 21.95 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3609, allocations: 322.2 kB / 0.5236 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.3609, allocations: 21.77 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.699e-05/0.361, allocations: 43.2 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.3611, allocations: 57.16 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.3612, allocations: 1.188 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001942/0.3614, allocations: 104.7 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3614, allocations: 5.875 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3614, allocations: 0 / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3614, allocations: 1.672 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.3615, allocations: 16.25 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.3615, allocations: 1.438 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.653e-05/0.3616, allocations: 5.828 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.3616, allocations: 6.656 kB / 0.5239 GB, free: 15.18 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.0001074/0.3617, allocations: 127.8 kB / 0.524 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.3617, allocations: 14.5 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/0.3618, allocations: 14.5 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3618, allocations: 1.688 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3618, allocations: 0 / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.3618, allocations: 5.641 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.3623, allocations: 397 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3623, allocations: 0 / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.3623, allocations: 9.203 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3623, allocations: 5.156 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3624, allocations: 1.984 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3624, allocations: 1.578 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3624, allocations: 0 / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.3626, allocations: 205 kB / 0.5246 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.876e-05/0.3627, allocations: 88.12 kB / 0.5247 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.3627, allocations: 11.39 kB / 0.5247 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.3628, allocations: 7.406 kB / 0.5247 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.3628, allocations: 5.5 kB / 0.5247 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.3629, allocations: 8.516 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.363, allocations: 134.6 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.363, allocations: 0 / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.3632, allocations: 21.94 kB / 0.5249 GB, free: 14.3 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.002141/0.3654, allocations: 1.1 MB / 0.526 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.3656, allocations: 55.28 kB / 0.526 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3656, allocations: 0 / 0.526 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.781e-05/0.3657, allocations: 32.83 kB / 0.5261 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.366, allocations: 37.25 kB / 0.5261 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.3678, allocations: 1.616 MB / 0.5277 GB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.3682, allocations: 0.6975 MB / 0.5283 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.075e-05/0.3683, allocations: 13.36 kB / 0.5284 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.3683, allocations: 38.27 kB / 0.5284 GB, free: 11.34 MB / 398.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3683, allocations: 0 / 0.5284 GB, free: 11.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.3937, allocations: 3.313 MB / 0.5316 GB, free: 9.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.46, allocations: 7.531 kB / 0.5316 GB, free: 9.941 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_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_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches