Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",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.001259/0.001259, allocations: 109.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.001267/0.001268, allocations: 183.9 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.351/1.351, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2052/0.2052, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 71.84 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4319, allocations: 60.81 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003683/0.4356, allocations: 1.918 MB / 0.5204 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.4373, allocations: 0.9163 MB / 0.5212 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.4375, allocations: 2.406 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003715/0.4378, allocations: 41.64 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.4382, allocations: 66.66 kB / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.4386, allocations: 131.4 kB / 0.5215 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.4389, allocations: 134.7 kB / 0.5216 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.4391, allocations: 21.22 kB / 0.5216 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.4393, allocations: 64.72 kB / 0.5217 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.4394, allocations: 48.73 kB / 0.5217 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.4395, allocations: 6.906 kB / 0.5217 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.4396, allocations: 46.12 kB / 0.5218 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.877e-05/0.4397, allocations: 30.8 kB / 0.5218 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.831e-05/0.4398, allocations: 46.95 kB / 0.5219 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.4402, allocations: 153.1 kB / 0.522 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4402, allocations: 1.125 kB / 0.522 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4402, allocations: 0 / 0.522 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.984e-06/0.4402, allocations: 0 / 0.522 GB, free: 0.9258 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007473/0.441, allocations: 492.3 kB / 0.5225 GB, free: 468 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.4411, allocations: 9.531 kB / 0.5225 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.107e-05/0.4411, allocations: 38.75 kB / 0.5225 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.924e-05/0.4412, allocations: 16.77 kB / 0.5225 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.4415, allocations: 224.6 kB / 0.5228 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.4416, allocations: 12.25 kB / 0.5228 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.4416, allocations: 9.078 kB / 0.5228 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.4418, allocations: 116.3 kB / 0.5229 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.4419, allocations: 0 / 0.5229 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.4419, allocations: 5.844 kB / 0.5229 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4419, allocations: 2.812 kB / 0.5229 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.4421, allocations: 50.39 kB / 0.5229 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006607/0.4427, allocations: 0.5031 MB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.4431, allocations: 91.92 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.4432, allocations: 36.83 kB / 0.5236 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.4432, allocations: 5.672 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/0.4435, allocations: 77.75 kB / 0.5236 GB, free: 15.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 5.751e-06/0.4435, allocations: 0 / 0.5236 GB, free: 15.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004627/0.444, allocations: 147 kB / 0.5238 GB, free: 15.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.444, allocations: 56.69 kB / 0.5238 GB, free: 15.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.4443, allocations: 192.1 kB / 0.524 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.4443, allocations: 31.02 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.086e-05/0.4444, allocations: 119.2 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.4444, allocations: 22.77 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.4445, allocations: 29.08 kB / 0.5242 GB, free: 15.01 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4447, allocations: 327.9 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.585e-05/0.4448, allocations: 24.5 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.4449, allocations: 79.25 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.4451, allocations: 95.44 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4451, allocations: 5.875 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003073/0.4454, allocations: 136.9 kB / 0.5248 GB, free: 14.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4455, allocations: 6.078 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4455, allocations: 1.312 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.4455, allocations: 9.031 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.4456, allocations: 26.19 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.4456, allocations: 2.062 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.315e-05/0.4457, allocations: 24.5 kB / 0.5249 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.4457, allocations: 4.688 kB / 0.5249 GB, free: 14.46 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001265/0.4458, allocations: 129.2 kB / 0.525 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.4459, allocations: 12.83 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.838e-05/0.4459, allocations: 15.84 kB / 0.5251 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4459, allocations: 5.562 kB / 0.5251 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.446, allocations: 0.6562 kB / 0.5251 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.446, allocations: 0.6094 kB / 0.5251 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.4462, allocations: 210.1 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4463, allocations: 4 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.495e-05/0.4463, allocations: 13.67 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4463, allocations: 1.031 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.4464, allocations: 0 / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.4464, allocations: 6.781 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4464, allocations: 1.172 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.4468, allocations: 180 kB / 0.5255 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.4469, allocations: 97.44 kB / 0.5256 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.4469, allocations: 2.281 kB / 0.5256 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-05/0.447, allocations: 10.31 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.447, allocations: 9.578 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.4471, allocations: 7.266 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.4472, allocations: 138.5 kB / 0.5257 GB, free: 13.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4472, allocations: 3.938 kB / 0.5257 GB, free: 13.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.4475, allocations: 26.2 kB / 0.5258 GB, free: 13.76 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001767/0.4492, allocations: 1.02 MB / 0.5267 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.4495, allocations: 77.66 kB / 0.5268 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4496, allocations: 6.062 kB / 0.5268 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.4497, allocations: 38.69 kB / 0.5269 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.4501, allocations: 42.33 kB / 0.5269 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.4524, allocations: 1.722 MB / 0.5286 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.4528, allocations: 0.718 MB / 0.5293 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.02e-05/0.4529, allocations: 27.2 kB / 0.5293 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.549e-05/0.453, allocations: 41.23 kB / 0.5294 GB, free: 10.85 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.453, allocations: 384 / 0.5294 GB, free: 10.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.4768, allocations: 3.775 MB / 0.533 GB, free: 9.062 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.672/8.149, allocations: 5.812 kB / 0.533 GB, free: 9.059 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches