Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",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.001291/0.001291, allocations: 113.8 kB / 17.78 MB, free: 5.266 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.00127/0.00127, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.457/1.457, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2307/0.2307, allocations: 44.18 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 59.91 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3643, allocations: 60.83 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.00316/0.3675, allocations: 1.701 MB / 0.5202 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.3695, allocations: 1.489 MB / 0.5216 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.943e-05/0.3696, allocations: 0 / 0.5216 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.3699, allocations: 40.27 kB / 0.5217 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.3701, allocations: 60.22 kB / 0.5217 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.3705, allocations: 111 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.3707, allocations: 105 kB / 0.5219 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3708, allocations: 11.55 kB / 0.5219 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.3709, allocations: 46.48 kB / 0.522 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.3711, allocations: 45.91 kB / 0.522 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.3711, allocations: 5.531 kB / 0.522 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.3713, allocations: 58.33 kB / 0.5221 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.944e-05/0.3713, allocations: 25.91 kB / 0.5221 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.678e-05/0.3714, allocations: 30.41 kB / 0.5221 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.3717, allocations: 126.8 kB / 0.5223 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3717, allocations: 0 / 0.5223 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3717, allocations: 4.938 kB / 0.5223 GB, free: 0.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.3717, allocations: 4 kB / 0.5223 GB, free: 0.7461 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005614/0.3723, allocations: 420 kB / 0.5227 GB, free: 340 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.3723, allocations: 10.58 kB / 0.5227 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.867e-05/0.3724, allocations: 36.66 kB / 0.5227 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.3724, allocations: 9.391 kB / 0.5227 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.3727, allocations: 220.4 kB / 0.5229 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.3727, allocations: 2 kB / 0.5229 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.3727, allocations: 3.031 kB / 0.5229 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.373, allocations: 82.5 kB / 0.523 GB, free: 16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.373, allocations: 2.141 kB / 0.523 GB, free: 16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.373, allocations: 0 / 0.523 GB, free: 16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.373, allocations: 5.391 kB / 0.523 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.3731, allocations: 25.72 kB / 0.5231 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.3736, allocations: 294.9 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.3739, allocations: 80.14 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.274e-05/0.3739, allocations: 22.84 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.374, allocations: 1.656 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.3742, allocations: 77.75 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.3742, allocations: 0 / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006951/0.3749, allocations: 200.6 kB / 0.5237 GB, free: 15.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.375, allocations: 82.11 kB / 0.5238 GB, free: 15.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.3752, allocations: 160.1 kB / 0.5239 GB, free: 15.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.3752, allocations: 31.14 kB / 0.524 GB, free: 15.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/0.3753, allocations: 94.92 kB / 0.5241 GB, free: 15.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.3754, allocations: 28.16 kB / 0.5241 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.3754, allocations: 25.91 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3756, allocations: 325.6 kB / 0.5244 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-05/0.3757, allocations: 24.34 kB / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.987e-05/0.3758, allocations: 43.98 kB / 0.5245 GB, free: 14.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.376, allocations: 67.08 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.376, allocations: 8.438 kB / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002774/0.3763, allocations: 118.3 kB / 0.5247 GB, free: 14.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3764, allocations: 8.406 kB / 0.5247 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.3764, allocations: 6.406 kB / 0.5247 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.3764, allocations: 1.469 kB / 0.5247 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.3765, allocations: 17.03 kB / 0.5247 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3765, allocations: 0 / 0.5247 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.191e-05/0.3766, allocations: 4.094 kB / 0.5247 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.3766, allocations: 2.938 kB / 0.5247 GB, free: 14.61 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 (11): * Single equations (assignments): 11 * 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.0001487/0.3768, allocations: 122.8 kB / 0.5248 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.3768, allocations: 14.02 kB / 0.5248 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.272e-05/0.3769, allocations: 26.53 kB / 0.5249 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.3769, allocations: 2.297 kB / 0.5249 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3769, allocations: 3.938 kB / 0.5249 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3769, allocations: 1.875 kB / 0.5249 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/0.3775, allocations: 414 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3775, allocations: 5.156 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.3775, allocations: 9.422 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3776, allocations: 1.094 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.3776, allocations: 12.27 kB / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3776, allocations: 0 / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3776, allocations: 1.438 kB / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.3779, allocations: 213.4 kB / 0.5255 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.379e-05/0.378, allocations: 84.08 kB / 0.5256 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.378, allocations: 6.5 kB / 0.5256 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.3781, allocations: 6.812 kB / 0.5256 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.3782, allocations: 6.5 kB / 0.5256 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.3782, allocations: 6.219 kB / 0.5256 GB, free: 13.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.3783, allocations: 121.5 kB / 0.5257 GB, free: 13.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3783, allocations: 0 / 0.5257 GB, free: 13.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.3786, allocations: 34.19 kB / 0.5257 GB, free: 13.71 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 (9): * Single equations (assignments): 7 * 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.002428/0.381, allocations: 1.153 MB / 0.5269 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.3813, allocations: 67.58 kB / 0.5269 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3813, allocations: 0 / 0.5269 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.213e-05/0.3814, allocations: 35.75 kB / 0.527 GB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.3818, allocations: 35.52 kB / 0.527 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.3838, allocations: 1.618 MB / 0.5286 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.3842, allocations: 0.7011 MB / 0.5293 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.871e-05/0.3843, allocations: 25.48 kB / 0.5293 GB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/0.3844, allocations: 34.94 kB / 0.5293 GB, free: 10.72 MB / 398.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3844, allocations: 0 / 0.5293 GB, free: 10.72 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.4111, allocations: 3.722 MB / 0.533 GB, free: 8.977 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.366, allocations: 13.03 kB / 0.533 GB, free: 8.965 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_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_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches