Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",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.001552/0.001552, allocations: 117.2 kB / 17.78 MB, free: 5.258 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.001654/0.001654, allocations: 184.2 kB / 18.71 MB, free: 4.332 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.45/1.45, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2347/0.2347, allocations: 44.19 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 75.88 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4432/0.4446, allocations: 60.82 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003473/0.4481, allocations: 1.706 MB / 0.5202 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.4505, allocations: 1.488 MB / 0.5216 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.4506, allocations: 1.25 kB / 0.5216 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.451, allocations: 40.81 kB / 0.5217 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.4513, allocations: 51.41 kB / 0.5217 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.4516, allocations: 117.1 kB / 0.5218 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.4518, allocations: 96.62 kB / 0.5219 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.4519, allocations: 15.77 kB / 0.5219 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.38e-05/0.452, allocations: 42.73 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.4521, allocations: 35.67 kB / 0.522 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.4522, allocations: 7.312 kB / 0.522 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.4523, allocations: 59.88 kB / 0.5221 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.458e-05/0.4524, allocations: 26.56 kB / 0.5221 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.382e-05/0.4524, allocations: 29.42 kB / 0.5221 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.4527, allocations: 121.4 kB / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.4527, allocations: 2.062 kB / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4527, allocations: 0 / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.4527, allocations: 0 / 0.5222 GB, free: 0.7461 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.0005833/0.4533, allocations: 412.1 kB / 0.5226 GB, free: 344 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.4534, allocations: 9.219 kB / 0.5226 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.4534, allocations: 37.2 kB / 0.5227 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.4535, allocations: 9.656 kB / 0.5227 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.4538, allocations: 202.1 kB / 0.5229 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.4539, allocations: 6.172 kB / 0.5229 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.4539, allocations: 6.125 kB / 0.5229 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.4541, allocations: 70.91 kB / 0.523 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4541, allocations: 0 / 0.523 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.4541, allocations: 1.828 kB / 0.523 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.4541, allocations: 1.125 kB / 0.523 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.517e-05/0.4542, allocations: 25.78 kB / 0.523 GB, free: 0 / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.4547, allocations: 288.3 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.455, allocations: 60.55 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.383e-05/0.455, allocations: 19.02 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.4551, allocations: 6 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.4553, allocations: 69.77 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.4553, allocations: 0 / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006102/0.4559, allocations: 168.5 kB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/0.456, allocations: 78.89 kB / 0.5236 GB, free: 15.42 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.4562, allocations: 157.4 kB / 0.5238 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.4562, allocations: 26.8 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.4563, allocations: 98.5 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.4563, allocations: 25.42 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.4564, allocations: 28.03 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4565, allocations: 321.4 kB / 0.5243 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.018e-05/0.4566, allocations: 16.69 kB / 0.5243 GB, free: 14.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.4567, allocations: 40.72 kB / 0.5243 GB, free: 14.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.4568, allocations: 69.67 kB / 0.5244 GB, free: 14.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4568, allocations: 0 / 0.5244 GB, free: 14.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001979/0.457, allocations: 97.3 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.457, allocations: 5.188 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.457, allocations: 2.516 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4571, allocations: 0 / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.347e-05/0.4572, allocations: 18.64 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4572, allocations: 2.266 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.4572, allocations: 7.656 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.4573, allocations: 7.094 kB / 0.5245 GB, free: 14.66 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.0001033/0.4574, allocations: 125.6 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.4574, allocations: 12.16 kB / 0.5247 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.4574, allocations: 19.03 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4575, allocations: 0 / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.4575, allocations: 6.141 kB / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.4575, allocations: 7.875 kB / 0.5247 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.458, allocations: 388.5 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.458, allocations: 1.594 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.458, allocations: 12.39 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.4581, allocations: 5 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.4581, allocations: 7.188 kB / 0.5251 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4581, allocations: 0 / 0.5251 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.4581, allocations: 5.203 kB / 0.5251 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.4583, allocations: 197.5 kB / 0.5253 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.4584, allocations: 84.34 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.4584, allocations: 9.859 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.4585, allocations: 3.609 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.4586, allocations: 9.594 kB / 0.5254 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.4586, allocations: 4.062 kB / 0.5254 GB, free: 13.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.4587, allocations: 115 kB / 0.5255 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4587, allocations: 0 / 0.5255 GB, free: 13.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.459, allocations: 36.53 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.001754/0.4608, allocations: 1.131 MB / 0.5266 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.461, allocations: 61.12 kB / 0.5267 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.461, allocations: 64 / 0.5267 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.946e-05/0.4611, allocations: 32.31 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.0004348/0.4616, allocations: 35.33 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.001871/0.4634, allocations: 1.539 MB / 0.5283 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.4638, allocations: 0.7053 MB / 0.529 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.375e-05/0.4638, allocations: 14.45 kB / 0.529 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.479e-05/0.4639, allocations: 29.52 kB / 0.529 GB, free: 10.85 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4639, allocations: 0 / 0.529 GB, free: 10.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.4883, allocations: 3.557 MB / 0.5325 GB, free: 9.215 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/7.927, allocations: 12.41 kB / 0.5325 GB, free: 9.207 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_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_Test57.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches