Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",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.001041/0.001041, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.000981/0.0009811, 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.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2012/0.2012, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3256, allocations: 60.81 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003192/0.3288, allocations: 1.719 MB / 0.5202 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.3306, allocations: 1.478 MB / 0.5216 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.853e-05/0.3307, allocations: 1.125 kB / 0.5216 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.331, allocations: 40 kB / 0.5217 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.3313, allocations: 56.02 kB / 0.5217 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.3317, allocations: 113.6 kB / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.3319, allocations: 96.72 kB / 0.5219 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.332, allocations: 11.53 kB / 0.5219 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.3321, allocations: 47.06 kB / 0.522 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.3323, allocations: 39.5 kB / 0.522 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.3323, allocations: 3.375 kB / 0.522 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.3325, allocations: 66.39 kB / 0.5221 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.752e-05/0.3325, allocations: 15.47 kB / 0.5221 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.089e-05/0.3326, allocations: 29.59 kB / 0.5221 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.3328, allocations: 122.1 kB / 0.5222 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3328, allocations: 0 / 0.5222 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3328, allocations: 0 / 0.5222 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3329, allocations: 2.094 kB / 0.5222 GB, free: 0.7539 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.0004585/0.3333, allocations: 416.1 kB / 0.5226 GB, free: 348 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.3334, allocations: 9.156 kB / 0.5226 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.683e-05/0.3334, allocations: 37.39 kB / 0.5227 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.3334, allocations: 8.797 kB / 0.5227 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.3337, allocations: 202.6 kB / 0.5229 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3337, allocations: 5.406 kB / 0.5229 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.3337, allocations: 6.188 kB / 0.5229 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.3339, allocations: 74.81 kB / 0.523 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3339, allocations: 0.5156 kB / 0.523 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3339, allocations: 1.062 kB / 0.523 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3339, allocations: 5.062 kB / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.487e-05/0.334, allocations: 18.17 kB / 0.523 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.3344, allocations: 284.1 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3346, allocations: 65 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.439e-05/0.3346, allocations: 23.59 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.3347, allocations: 5.25 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.3348, allocations: 66.48 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.3349, allocations: 0 / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005441/0.3354, allocations: 171 kB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.3355, allocations: 84.44 kB / 0.5237 GB, free: 15.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.3356, allocations: 152.5 kB / 0.5238 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3357, allocations: 32.39 kB / 0.5238 GB, free: 15.26 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.3357, allocations: 93.28 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.3358, allocations: 25.39 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.3358, allocations: 27.66 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3359, allocations: 319.5 kB / 0.5243 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.928e-05/0.336, allocations: 19.61 kB / 0.5243 GB, free: 14.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.14e-05/0.3361, allocations: 47.22 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.3362, allocations: 58.47 kB / 0.5244 GB, free: 14.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3362, allocations: 0 / 0.5244 GB, free: 14.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00021/0.3364, allocations: 100.5 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3365, allocations: 6.516 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3365, allocations: 0 / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3365, allocations: 1.562 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.111e-05/0.3366, allocations: 15.88 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3366, allocations: 4.688 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.394e-05/0.3367, allocations: 7.531 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3367, allocations: 3.781 kB / 0.5245 GB, free: 14.67 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 9.698e-05/0.3368, allocations: 124.8 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.3368, allocations: 12.92 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.3369, allocations: 18.12 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3369, allocations: 2.438 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.3369, allocations: 0 / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3369, allocations: 12.61 kB / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004654/0.3374, allocations: 388.7 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3374, allocations: 0.6094 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.3374, allocations: 13 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.3374, allocations: 5 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.3374, allocations: 3.359 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3375, allocations: 0 / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.3375, allocations: 5.641 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.3377, allocations: 200.1 kB / 0.5253 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.3378, allocations: 92.38 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.3378, allocations: 7.141 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.566e-05/0.3379, allocations: 2.547 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.3379, allocations: 5.688 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.338, allocations: 8.312 kB / 0.5254 GB, free: 13.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.696e-05/0.3381, allocations: 116 kB / 0.5255 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3381, allocations: 4 kB / 0.5255 GB, free: 13.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000284/0.3384, allocations: 32.44 kB / 0.5255 GB, free: 13.77 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.001892/0.3403, allocations: 1.133 MB / 0.5266 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.3405, allocations: 63.2 kB / 0.5267 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3405, allocations: 1.656 kB / 0.5267 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.632e-05/0.3406, allocations: 28.67 kB / 0.5267 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.341, allocations: 33.81 kB / 0.5268 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.3429, allocations: 1.545 MB / 0.5283 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.3432, allocations: 0.6955 MB / 0.529 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.322e-05/0.3432, allocations: 15.5 kB / 0.529 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.3433, allocations: 33.89 kB / 0.529 GB, free: 10.85 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3433, allocations: 0 / 0.529 GB, free: 10.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.3656, allocations: 3.56 MB / 0.5325 GB, free: 9.219 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.434/7.799, allocations: 5.812 kB / 0.5325 GB, free: 9.215 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches