Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",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.001276/0.001276, allocations: 118.3 kB / 17.78 MB, free: 5.125 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.001204/0.001205, allocations: 184.2 kB / 18.72 MB, free: 4.203 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.392/1.392, 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.2106/0.2106, allocations: 44.19 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002983/0.002983, allocations: 67.89 kB / 470.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3282, allocations: 60.81 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002696/0.331, allocations: 1.9 MB / 0.5204 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.3323, allocations: 0.9869 MB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.584e-05/0.3324, allocations: 6.344 kB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004383/0.3329, allocations: 220.3 kB / 0.5216 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.3332, allocations: 169.4 kB / 0.5217 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.3336, allocations: 180.6 kB / 0.5219 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.3339, allocations: 236.3 kB / 0.5221 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.334, allocations: 29.94 kB / 0.5221 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.3342, allocations: 122.9 kB / 0.5223 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.3344, allocations: 148.7 kB / 0.5224 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.3344, allocations: 7.875 kB / 0.5224 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.3345, allocations: 63.86 kB / 0.5225 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.058e-05/0.3346, allocations: 55.41 kB / 0.5225 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.468e-05/0.3347, allocations: 92.92 kB / 0.5226 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.335, allocations: 234.2 kB / 0.5228 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.335, allocations: 0 / 0.5228 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.335, allocations: 0 / 0.5228 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.335, allocations: 0 / 0.5228 GB, free: 0.7148 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005927/0.3356, allocations: 0.5667 MB / 0.5234 GB, free: 204 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.3357, allocations: 11.47 kB / 0.5234 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.3357, allocations: 39.08 kB / 0.5234 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.3358, allocations: 29.38 kB / 0.5235 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.3362, allocations: 280.9 kB / 0.5237 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.3362, allocations: 7.219 kB / 0.5237 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.3363, allocations: 9.016 kB / 0.5237 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.3365, allocations: 115.4 kB / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.3366, allocations: 4.984 kB / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3366, allocations: 1.75 kB / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3366, allocations: 1.812 kB / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.3367, allocations: 46.19 kB / 0.5239 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006019/0.3373, allocations: 478.6 kB / 0.5244 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.3377, allocations: 123.5 kB / 0.5245 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.3378, allocations: 47.06 kB / 0.5245 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.3379, allocations: 4 kB / 0.5245 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.3381, allocations: 122.5 kB / 0.5246 GB, free: 15.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.3382, allocations: 0 / 0.5246 GB, free: 15.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001284/0.3394, allocations: 0.4939 MB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.3395, allocations: 85.98 kB / 0.5252 GB, free: 14.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004659/0.34, allocations: 429.3 kB / 0.5256 GB, free: 14.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.34, allocations: 33.06 kB / 0.5257 GB, free: 14.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.3401, allocations: 151.9 kB / 0.5258 GB, free: 14.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.422e-05/0.3402, allocations: 75.34 kB / 0.5259 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-05/0.3403, allocations: 42.02 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3405, allocations: 342.2 kB / 0.5262 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.3406, allocations: 55.58 kB / 0.5263 GB, free: 14.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.3408, allocations: 102.2 kB / 0.5264 GB, free: 14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.3411, allocations: 166.2 kB / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3411, allocations: 0 / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004193/0.3415, allocations: 244.2 kB / 0.5268 GB, free: 13.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3415, allocations: 9.047 kB / 0.5268 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3415, allocations: 1.062 kB / 0.5268 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3415, allocations: 2.25 kB / 0.5268 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.3417, allocations: 48.31 kB / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3417, allocations: 2.641 kB / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.133e-05/0.3418, allocations: 8.375 kB / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.3418, allocations: 16.55 kB / 0.5269 GB, free: 13.76 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001631/0.342, allocations: 168.1 kB / 0.527 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.342, allocations: 37.64 kB / 0.5271 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.599e-05/0.3421, allocations: 39.47 kB / 0.5271 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3422, allocations: 2.812 kB / 0.5271 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3422, allocations: 2.172 kB / 0.5271 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.3422, allocations: 1.312 kB / 0.5271 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009681/0.3431, allocations: 0.7229 MB / 0.5278 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3432, allocations: 2.453 kB / 0.5278 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.896e-05/0.3433, allocations: 34.53 kB / 0.5278 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3433, allocations: 3.25 kB / 0.5278 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.3433, allocations: 8.969 kB / 0.5279 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.3433, allocations: 3.219 kB / 0.5279 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3433, allocations: 4.969 kB / 0.5279 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.3438, allocations: 424 kB / 0.5283 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-05/0.3439, allocations: 102.5 kB / 0.5284 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.344, allocations: 9.375 kB / 0.5284 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.3441, allocations: 14.75 kB / 0.5284 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.3442, allocations: 19.83 kB / 0.5284 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.3442, allocations: 16.08 kB / 0.5284 GB, free: 12.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003208/0.3446, allocations: 316.3 kB / 0.5287 GB, free: 12.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.066e-06/0.3446, allocations: 0 / 0.5287 GB, free: 12.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003523/0.3449, allocations: 51.7 kB / 0.5288 GB, free: 12.39 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002567/0.3475, allocations: 1.353 MB / 0.5301 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000384/0.3479, allocations: 171.1 kB / 0.5303 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3479, allocations: 0 / 0.5303 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.3481, allocations: 82.53 kB / 0.5303 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/0.3487, allocations: 71.12 kB / 0.5304 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.3523, allocations: 2.827 MB / 0.5332 GB, free: 9.148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.3528, allocations: 0.7744 MB / 0.5339 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.3529, allocations: 37.42 kB / 0.534 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.3531, allocations: 93.19 kB / 0.534 GB, free: 8.324 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3531, allocations: 4 kB / 0.5341 GB, free: 8.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.3817, allocations: 6.265 MB / 0.5402 GB, free: 5.129 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.197/8.579, allocations: 9.609 kB / 0.5402 GB, free: 5.121 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches