Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",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.001538/0.001538, allocations: 108.8 kB / 17.78 MB, free: 5.273 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.001899/0.001899, allocations: 180.9 kB / 18.71 MB, free: 4.355 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.416/1.416, 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.2041/0.2041, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.89 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3265, allocations: 60.82 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002772/0.3293, allocations: 1.705 MB / 0.5202 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.3307, allocations: 0.8776 MB / 0.521 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.317e-05/0.3308, allocations: 5.031 kB / 0.521 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.3311, allocations: 45.98 kB / 0.5211 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.3314, allocations: 64.31 kB / 0.5211 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.3317, allocations: 108.8 kB / 0.5212 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.3319, allocations: 96.38 kB / 0.5213 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.3321, allocations: 16.28 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.3322, allocations: 42.3 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.687e-05/0.3323, allocations: 29.58 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.3323, allocations: 3.406 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.3324, allocations: 42.64 kB / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.534e-05/0.3325, allocations: 28.84 kB / 0.5215 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.3326, allocations: 45.95 kB / 0.5215 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.3328, allocations: 135.6 kB / 0.5217 GB, free: 1.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3328, allocations: 0 / 0.5217 GB, free: 1.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3329, allocations: 4 kB / 0.5217 GB, free: 1.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3329, allocations: 1.094 kB / 0.5217 GB, free: 1.184 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.0005414/0.3334, allocations: 445.2 kB / 0.5221 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3335, allocations: 9.719 kB / 0.5221 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.94e-05/0.3335, allocations: 33.73 kB / 0.5221 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.3335, allocations: 14.59 kB / 0.5222 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.3338, allocations: 227.3 kB / 0.5224 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.3338, allocations: 1.875 kB / 0.5224 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.3339, allocations: 11.2 kB / 0.5224 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.334, allocations: 58.89 kB / 0.5224 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.334, allocations: 0 / 0.5224 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.3341, allocations: 0 / 0.5224 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3341, allocations: 1.312 kB / 0.5224 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.787e-05/0.3342, allocations: 18 kB / 0.5225 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.3345, allocations: 294.8 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.3347, allocations: 67.95 kB / 0.5228 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.3348, allocations: 24.38 kB / 0.5228 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.3348, allocations: 1.125 kB / 0.5228 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.3349, allocations: 66.45 kB / 0.5229 GB, free: 12 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.335, allocations: 0 / 0.5229 GB, free: 12 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006246/0.3356, allocations: 191.9 kB / 0.5231 GB, free: 15.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.3356, allocations: 60.38 kB / 0.5231 GB, free: 15.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.336, allocations: 272.4 kB / 0.5234 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.336, allocations: 30.95 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.638e-05/0.3361, allocations: 112.6 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.3362, allocations: 33.2 kB / 0.5236 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.3362, allocations: 27.02 kB / 0.5236 GB, free: 15.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3363, allocations: 329.9 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.158e-05/0.3364, allocations: 20.61 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.928e-05/0.3365, allocations: 39.23 kB / 0.524 GB, free: 15.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.3366, allocations: 57.44 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3366, allocations: 0.6562 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000201/0.3368, allocations: 103.1 kB / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3368, allocations: 10.72 kB / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3368, allocations: 0 / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3369, allocations: 1.281 kB / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.337, allocations: 15.88 kB / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.337, allocations: 0 / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.379e-05/0.337, allocations: 11.52 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.337, allocations: 7.625 kB / 0.5242 GB, free: 15.04 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.000115/0.3372, allocations: 138.3 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.3372, allocations: 15.12 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.248e-05/0.3373, allocations: 28.09 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3373, allocations: 1.531 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3373, allocations: 0 / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.3373, allocations: 4.594 kB / 0.5243 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.3378, allocations: 402.9 kB / 0.5247 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3378, allocations: 1.75 kB / 0.5247 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.3378, allocations: 8.109 kB / 0.5247 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.3378, allocations: 5.266 kB / 0.5247 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.3378, allocations: 6.672 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.3378, allocations: 2.156 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3379, allocations: 1.25 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.3381, allocations: 213.9 kB / 0.5249 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.3382, allocations: 93.53 kB / 0.525 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.3382, allocations: 6.453 kB / 0.525 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.3383, allocations: 3.859 kB / 0.525 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.3383, allocations: 13.17 kB / 0.5251 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.3383, allocations: 3.422 kB / 0.5251 GB, free: 14.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001759/0.3385, allocations: 205.1 kB / 0.5253 GB, free: 14.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3385, allocations: 0 / 0.5253 GB, free: 14.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.3388, allocations: 27.23 kB / 0.5253 GB, free: 14.12 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.001484/0.3403, allocations: 1.1 MB / 0.5264 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.3405, allocations: 60.66 kB / 0.5264 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3405, allocations: 0 / 0.5264 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.394e-05/0.3406, allocations: 30.81 kB / 0.5264 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.3409, allocations: 35.19 kB / 0.5265 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.3429, allocations: 1.844 MB / 0.5283 GB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.3432, allocations: 0.7179 MB / 0.529 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.845e-05/0.3433, allocations: 18 kB / 0.529 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/0.3434, allocations: 48.02 kB / 0.529 GB, free: 11.09 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3434, allocations: 0 / 0.529 GB, free: 11.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.3625, allocations: 3.767 MB / 0.5327 GB, free: 9.383 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/8.022, allocations: 9.156 kB / 0.5327 GB, free: 9.375 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_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_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches