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.001105/0.001105, allocations: 116.6 kB / 17.78 MB, free: 5.262 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.001285/0.001285, allocations: 183.8 kB / 18.72 MB, free: 4.336 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.356/1.356, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2244/0.2244, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 63.91 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4208, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003357/0.4242, allocations: 1.71 MB / 0.5202 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.4257, allocations: 0.8755 MB / 0.521 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.019e-05/0.4258, allocations: 5.031 kB / 0.521 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003795/0.4262, allocations: 34.14 kB / 0.5211 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.4265, allocations: 59.28 kB / 0.5211 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.4269, allocations: 113 kB / 0.5212 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.427, allocations: 92.09 kB / 0.5213 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.4272, allocations: 20.14 kB / 0.5213 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.827e-05/0.4273, allocations: 45.69 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.147e-05/0.4274, allocations: 30.41 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.4274, allocations: 4.156 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.4275, allocations: 41.41 kB / 0.5215 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.081e-05/0.4276, allocations: 23.48 kB / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.914e-05/0.4276, allocations: 33.67 kB / 0.5215 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.4279, allocations: 113.4 kB / 0.5216 GB, free: 1.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.4279, allocations: 4 kB / 0.5216 GB, free: 1.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4279, allocations: 3.938 kB / 0.5216 GB, free: 1.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.4279, allocations: 1.125 kB / 0.5216 GB, free: 1.215 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.0004973/0.4284, allocations: 422.3 kB / 0.522 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4285, allocations: 10.28 kB / 0.522 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.889e-05/0.4285, allocations: 31.97 kB / 0.5221 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.4286, allocations: 11.12 kB / 0.5221 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.4288, allocations: 215.2 kB / 0.5223 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.4288, allocations: 2.469 kB / 0.5223 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.4289, allocations: 10.61 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.429, allocations: 61.98 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.429, allocations: 0 / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.429, allocations: 1.641 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.4291, allocations: 1.062 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.174e-05/0.4291, allocations: 21.75 kB / 0.5224 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.4294, allocations: 284.3 kB / 0.5226 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.4296, allocations: 63.09 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.4297, allocations: 20.25 kB / 0.5227 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.4297, allocations: 5.656 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.4299, allocations: 61.3 kB / 0.5228 GB, free: 80 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.4299, allocations: 0 / 0.5228 GB, free: 80 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005833/0.4305, allocations: 186.6 kB / 0.523 GB, free: 15.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.4305, allocations: 56.66 kB / 0.523 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.4307, allocations: 200 kB / 0.5232 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.4308, allocations: 31.2 kB / 0.5232 GB, free: 15.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.4308, allocations: 100.9 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.4309, allocations: 24.86 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.4309, allocations: 26.38 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.431, allocations: 327.2 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.4311, allocations: 21.81 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.069e-05/0.4312, allocations: 38.56 kB / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.4313, allocations: 61.2 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4313, allocations: 1.125 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001949/0.4315, allocations: 105.2 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4315, allocations: 10.39 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.4315, allocations: 0 / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4316, allocations: 1.156 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.169e-05/0.4317, allocations: 15.5 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.4317, allocations: 4.875 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.762e-05/0.4317, allocations: 3.547 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.4317, allocations: 3.438 kB / 0.524 GB, free: 15.14 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.4319, allocations: 130.3 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.4319, allocations: 14.19 kB / 0.5241 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.177e-05/0.4319, allocations: 20.92 kB / 0.5241 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.432, allocations: 1.062 kB / 0.5241 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.432, allocations: 4.828 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.432, allocations: 192 / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.4325, allocations: 398.9 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4325, allocations: 5.969 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.4325, allocations: 7.938 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.4325, allocations: 5.438 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.4326, allocations: 6.547 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.4326, allocations: 2.062 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.4326, allocations: 4 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.4329, allocations: 196.9 kB / 0.5247 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.4329, allocations: 97.59 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.433, allocations: 3.094 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.533e-05/0.433, allocations: 9.875 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.4331, allocations: 6.578 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.4331, allocations: 3.953 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.4332, allocations: 151.3 kB / 0.525 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4333, allocations: 0 / 0.525 GB, free: 14.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.4335, allocations: 26.28 kB / 0.525 GB, free: 14.23 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.001433/0.435, allocations: 1.096 MB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.4352, allocations: 60.95 kB / 0.5261 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4352, allocations: 0 / 0.5261 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.268e-05/0.4352, allocations: 28.52 kB / 0.5262 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.4356, allocations: 33.47 kB / 0.5262 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.4375, allocations: 1.669 MB / 0.5278 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.4378, allocations: 0.7102 MB / 0.5285 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.539e-05/0.4378, allocations: 13.14 kB / 0.5285 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.4379, allocations: 38.7 kB / 0.5286 GB, free: 11.27 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4379, allocations: 0 / 0.5286 GB, free: 11.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.4571, allocations: 3.435 MB / 0.5319 GB, free: 9.789 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.566/8.024, allocations: 4.656 kB / 0.5319 GB, free: 9.785 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