Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",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.001196/0.001196, allocations: 112.7 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.001153/0.001153, allocations: 180.1 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.342/1.342, allocations: 222.9 MB / 242.4 MB, free: 15.11 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.2092/0.2092, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 63.91 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3862, allocations: 60.83 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003429/0.3897, allocations: 1.907 MB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.391, allocations: 0.9199 MB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.3911, allocations: 1.344 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.3915, allocations: 42.52 kB / 0.5213 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.3917, allocations: 58.25 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.392, allocations: 127.4 kB / 0.5215 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.3923, allocations: 138.8 kB / 0.5216 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.3924, allocations: 24.98 kB / 0.5216 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.3925, allocations: 61.19 kB / 0.5217 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.916e-05/0.3926, allocations: 52.47 kB / 0.5217 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.3927, allocations: 7.5 kB / 0.5217 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3928, allocations: 49.09 kB / 0.5218 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.318e-05/0.3928, allocations: 27.48 kB / 0.5218 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.071e-05/0.3929, allocations: 46.8 kB / 0.5219 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.3932, allocations: 157.5 kB / 0.522 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3932, allocations: 0 / 0.522 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3932, allocations: 0 / 0.522 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.3933, allocations: 1.062 kB / 0.522 GB, free: 0.9141 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.0005585/0.3938, allocations: 484.1 kB / 0.5225 GB, free: 460 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3939, allocations: 13.38 kB / 0.5225 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.623e-05/0.3939, allocations: 40.17 kB / 0.5225 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.394, allocations: 20.66 kB / 0.5225 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.3942, allocations: 225.6 kB / 0.5228 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.3943, allocations: 7.062 kB / 0.5228 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.3943, allocations: 11.78 kB / 0.5228 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.3945, allocations: 105.5 kB / 0.5229 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3945, allocations: 0 / 0.5229 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3945, allocations: 10.05 kB / 0.5229 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.3946, allocations: 3.062 kB / 0.5229 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.3947, allocations: 45.8 kB / 0.5229 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006494/0.3954, allocations: 0.5077 MB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.3957, allocations: 87.48 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.3958, allocations: 45.03 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.3959, allocations: 2.484 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.3961, allocations: 85.36 kB / 0.5236 GB, free: 15.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.3961, allocations: 0 / 0.5236 GB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004299/0.3965, allocations: 147.6 kB / 0.5238 GB, free: 15.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.3966, allocations: 56 kB / 0.5238 GB, free: 15.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.3968, allocations: 184.3 kB / 0.524 GB, free: 15.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3968, allocations: 30.77 kB / 0.524 GB, free: 15.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.396e-05/0.3969, allocations: 119.6 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.3969, allocations: 22.09 kB / 0.5242 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.397, allocations: 33.42 kB / 0.5242 GB, free: 15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3971, allocations: 323.2 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.715e-05/0.3972, allocations: 29.48 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.3974, allocations: 70.5 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.3976, allocations: 105.8 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3976, allocations: 0 / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002874/0.3979, allocations: 140.3 kB / 0.5248 GB, free: 14.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3979, allocations: 6.344 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3979, allocations: 1.094 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3979, allocations: 6.219 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.398, allocations: 25.78 kB / 0.5249 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.398, allocations: 10.22 kB / 0.5249 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.045e-05/0.3981, allocations: 14.7 kB / 0.5249 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.3981, allocations: 8 kB / 0.5249 GB, free: 14.45 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.0001097/0.3983, allocations: 121.2 kB / 0.525 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.3983, allocations: 18.25 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/0.3983, allocations: 21.41 kB / 0.5251 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3984, allocations: 5 kB / 0.5251 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3984, allocations: 0 / 0.5251 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3984, allocations: 0.9375 kB / 0.5251 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.3986, allocations: 210.1 kB / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3986, allocations: 0 / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.98e-05/0.3987, allocations: 11.28 kB / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3987, allocations: 1.688 kB / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.3987, allocations: 2.062 kB / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.3987, allocations: 16.67 kB / 0.5253 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3987, allocations: 0 / 0.5253 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.3991, allocations: 182.8 kB / 0.5255 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.3992, allocations: 94.2 kB / 0.5256 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.3992, allocations: 6.484 kB / 0.5256 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.406e-05/0.3993, allocations: 8.922 kB / 0.5256 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.3993, allocations: 10.09 kB / 0.5256 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.3994, allocations: 3 kB / 0.5256 GB, free: 13.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.3995, allocations: 142.9 kB / 0.5257 GB, free: 13.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3995, allocations: 0 / 0.5257 GB, free: 13.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.3997, allocations: 24.88 kB / 0.5258 GB, free: 13.74 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.001498/0.4012, allocations: 1.014 MB / 0.5268 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.4015, allocations: 77.05 kB / 0.5268 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4015, allocations: 4 kB / 0.5268 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.807e-05/0.4016, allocations: 32.27 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.0003155/0.4019, allocations: 47.45 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.001981/0.4039, allocations: 1.729 MB / 0.5286 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.4042, allocations: 0.7187 MB / 0.5293 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.448e-05/0.4043, allocations: 22.45 kB / 0.5293 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.274e-05/0.4044, allocations: 41.5 kB / 0.5294 GB, free: 10.84 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4044, allocations: 3.938 kB / 0.5294 GB, free: 10.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.4295, allocations: 3.775 MB / 0.533 GB, free: 9.047 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/8.181, allocations: 8.156 kB / 0.5331 GB, free: 9.043 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_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_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches