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.0012/0.0012, allocations: 112.8 kB / 17.78 MB, free: 5.281 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.001139/0.001139, allocations: 180.9 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.429/1.429, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.1999/0.1999, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.89 kB / 470.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3154, allocations: 60.83 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002814/0.3183, allocations: 1.885 MB / 0.5204 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.3198, allocations: 0.9834 MB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.3199, allocations: 10.28 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005656/0.3205, allocations: 224.2 kB / 0.5216 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.3209, allocations: 165.9 kB / 0.5217 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.3214, allocations: 179.9 kB / 0.5219 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.3217, allocations: 242.1 kB / 0.5221 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3219, allocations: 25.86 kB / 0.5221 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.3221, allocations: 120.1 kB / 0.5223 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.3223, allocations: 153.8 kB / 0.5224 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.3223, allocations: 6.906 kB / 0.5224 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.3225, allocations: 63.45 kB / 0.5225 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.851e-05/0.3226, allocations: 63.62 kB / 0.5225 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.972e-05/0.3227, allocations: 86.62 kB / 0.5226 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.323, allocations: 232.1 kB / 0.5228 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.323, allocations: 1.156 kB / 0.5228 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.323, allocations: 0 / 0.5228 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.323, allocations: 0.75 kB / 0.5228 GB, free: 0.7109 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.0006315/0.3237, allocations: 0.564 MB / 0.5234 GB, free: 204 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3237, allocations: 9.25 kB / 0.5234 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.108e-05/0.3238, allocations: 38.62 kB / 0.5234 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.474e-05/0.3238, allocations: 34.64 kB / 0.5235 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.3242, allocations: 279.5 kB / 0.5237 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.3242, allocations: 8.031 kB / 0.5237 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.3242, allocations: 13.16 kB / 0.5238 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.3245, allocations: 110.3 kB / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.3245, allocations: 6.594 kB / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3245, allocations: 0.6562 kB / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.3245, allocations: 5.812 kB / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.3247, allocations: 46.73 kB / 0.5239 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000578/0.3253, allocations: 473.6 kB / 0.5244 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/0.3257, allocations: 133.1 kB / 0.5245 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.3258, allocations: 43.16 kB / 0.5245 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.3258, allocations: 2.484 kB / 0.5245 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.3261, allocations: 126.3 kB / 0.5247 GB, free: 15.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.3261, allocations: 0 / 0.5247 GB, free: 15.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001267/0.3274, allocations: 0.4955 MB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.3274, allocations: 80.66 kB / 0.5252 GB, free: 14.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/0.3278, allocations: 430.8 kB / 0.5256 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.3279, allocations: 32.39 kB / 0.5257 GB, free: 14.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.328, allocations: 154.7 kB / 0.5258 GB, free: 14.49 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.856e-05/0.3281, allocations: 73.02 kB / 0.5259 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.3282, allocations: 44.69 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.3283, allocations: 343.3 kB / 0.5262 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.3284, allocations: 59.27 kB / 0.5263 GB, free: 14.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.3286, allocations: 101.3 kB / 0.5264 GB, free: 13.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.3288, allocations: 167.9 kB / 0.5266 GB, free: 13.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3288, allocations: 4 kB / 0.5266 GB, free: 13.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003823/0.3292, allocations: 235.6 kB / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3293, allocations: 5.969 kB / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3293, allocations: 1.312 kB / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3293, allocations: 6.406 kB / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.3294, allocations: 43.17 kB / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3295, allocations: 2.656 kB / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.355e-05/0.3295, allocations: 13.89 kB / 0.5269 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.3296, allocations: 10.69 kB / 0.5269 GB, free: 13.75 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.0001471/0.3297, allocations: 165.5 kB / 0.527 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.3298, allocations: 34.11 kB / 0.5271 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.377e-05/0.3298, allocations: 39.45 kB / 0.5271 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3299, allocations: 3.406 kB / 0.5271 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3299, allocations: 4 kB / 0.5271 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3299, allocations: 2.688 kB / 0.5271 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008652/0.3308, allocations: 0.7189 MB / 0.5278 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3308, allocations: 2.172 kB / 0.5278 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.033e-05/0.3309, allocations: 33.36 kB / 0.5278 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3309, allocations: 3.078 kB / 0.5278 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.3309, allocations: 6.172 kB / 0.5279 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3309, allocations: 3.797 kB / 0.5279 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.3309, allocations: 5.328 kB / 0.5279 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/0.3314, allocations: 428.6 kB / 0.5283 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/0.3314, allocations: 102.2 kB / 0.5284 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.3315, allocations: 9.625 kB / 0.5284 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.3316, allocations: 8.984 kB / 0.5284 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.3317, allocations: 26.66 kB / 0.5284 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.3317, allocations: 15.45 kB / 0.5284 GB, free: 12.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002885/0.332, allocations: 321.5 kB / 0.5287 GB, free: 12.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.332, allocations: 0 / 0.5287 GB, free: 12.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003624/0.3324, allocations: 48.12 kB / 0.5288 GB, free: 12.4 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.001702/0.3341, allocations: 1.361 MB / 0.5301 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003432/0.3344, allocations: 163.2 kB / 0.5303 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3345, allocations: 1.344 kB / 0.5303 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.3346, allocations: 87.38 kB / 0.5303 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.3352, allocations: 61.02 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.00313/0.3383, allocations: 2.836 MB / 0.5332 GB, free: 9.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.3387, allocations: 0.7672 MB / 0.5339 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.3388, allocations: 43.53 kB / 0.534 GB, free: 8.391 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.3389, allocations: 94.48 kB / 0.5341 GB, free: 8.316 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.339, allocations: 0 / 0.5341 GB, free: 8.316 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.362, allocations: 6.264 MB / 0.5402 GB, free: 5.125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/7.983, allocations: 12.39 kB / 0.5402 GB, free: 5.117 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