Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",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.001098/0.001098, allocations: 114.4 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.001016/0.001016, allocations: 183.8 kB / 18.72 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.446/1.446, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2307/0.2307, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 75.89 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4473, allocations: 60.83 MB / 0.5185 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003115/0.4505, allocations: 1.655 MB / 0.5201 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.4519, allocations: 0.8542 MB / 0.521 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.485e-05/0.452, allocations: 1.438 kB / 0.521 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.4524, allocations: 63.92 kB / 0.521 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.4526, allocations: 69.88 kB / 0.5211 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.4529, allocations: 103.4 kB / 0.5212 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.4531, allocations: 103.4 kB / 0.5213 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.389e-05/0.4532, allocations: 5.172 kB / 0.5213 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.4533, allocations: 47.42 kB / 0.5213 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.4534, allocations: 48.61 kB / 0.5214 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.4534, allocations: 3.219 kB / 0.5214 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.417e-05/0.4535, allocations: 33.11 kB / 0.5214 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.4536, allocations: 17.84 kB / 0.5214 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.4536, allocations: 33.28 kB / 0.5215 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.4539, allocations: 95.75 kB / 0.5216 GB, free: 1.316 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.4539, allocations: 0 / 0.5216 GB, free: 1.316 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4539, allocations: 0 / 0.5216 GB, free: 1.316 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.4539, allocations: 1.281 kB / 0.5216 GB, free: 1.316 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004844/0.4544, allocations: 407.8 kB / 0.5219 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4544, allocations: 9.594 kB / 0.5219 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.693e-05/0.4545, allocations: 36.55 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.4545, allocations: 9.062 kB / 0.522 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.4547, allocations: 209.4 kB / 0.5222 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.4547, allocations: 2.125 kB / 0.5222 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.4548, allocations: 6.141 kB / 0.5222 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.4549, allocations: 50.39 kB / 0.5222 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.4549, allocations: 0 / 0.5222 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.4549, allocations: 5.062 kB / 0.5223 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4549, allocations: 0 / 0.5223 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.929e-05/0.455, allocations: 23.55 kB / 0.5223 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.4552, allocations: 179.5 kB / 0.5224 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.4554, allocations: 52.89 kB / 0.5225 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.158e-05/0.4554, allocations: 18.88 kB / 0.5225 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.4555, allocations: 1.344 kB / 0.5225 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.4556, allocations: 80.14 kB / 0.5226 GB, free: 276 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.4556, allocations: 1.156 kB / 0.5226 GB, free: 276 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002764/0.4559, allocations: 95.84 kB / 0.5227 GB, free: 220 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.4559, allocations: 52.34 kB / 0.5227 GB, free: 156 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.4561, allocations: 189.8 kB / 0.5229 GB, free: 20 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.4562, allocations: 27.05 kB / 0.5229 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.4562, allocations: 99.28 kB / 0.523 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.4563, allocations: 23.38 kB / 0.5231 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.4563, allocations: 20.36 kB / 0.5231 GB, free: 15.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4565, allocations: 321.6 kB / 0.5234 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.254e-05/0.4565, allocations: 13.28 kB / 0.5234 GB, free: 15.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.4566, allocations: 31.94 kB / 0.5234 GB, free: 15.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.4567, allocations: 41.17 kB / 0.5235 GB, free: 15.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.4567, allocations: 9.094 kB / 0.5235 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001661/0.4569, allocations: 79.59 kB / 0.5236 GB, free: 15.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.4569, allocations: 9.203 kB / 0.5236 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4569, allocations: 0 / 0.5236 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.4569, allocations: 1.062 kB / 0.5236 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.918e-05/0.457, allocations: 15.11 kB / 0.5236 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.457, allocations: 1.125 kB / 0.5236 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.044e-05/0.4571, allocations: 3.5 kB / 0.5236 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.4571, allocations: 1.766 kB / 0.5236 GB, free: 15.42 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 (7): * Single equations (assignments): 7 * 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.0001139/0.4572, allocations: 129.2 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.4573, allocations: 12.97 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/0.4573, allocations: 14.38 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4573, allocations: 1.656 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4573, allocations: 3.938 kB / 0.5237 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4573, allocations: 0.5625 kB / 0.5237 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.4575, allocations: 190.1 kB / 0.5239 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4575, allocations: 4.25 kB / 0.5239 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.031e-05/0.4575, allocations: 3.688 kB / 0.5239 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4575, allocations: 5.438 kB / 0.5239 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.4576, allocations: 6.188 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4576, allocations: 4.75 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4576, allocations: 0 / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.4578, allocations: 109.3 kB / 0.524 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.4578, allocations: 84.58 kB / 0.5241 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.4579, allocations: 2.047 kB / 0.5241 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.406e-05/0.4579, allocations: 2.344 kB / 0.5241 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.4579, allocations: 6.938 kB / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.458, allocations: 3.922 kB / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.4581, allocations: 143.2 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4581, allocations: 3.938 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.4584, allocations: 17.09 kB / 0.5243 GB, free: 14.76 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001356/0.4597, allocations: 0.9542 MB / 0.5252 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.4599, allocations: 45.8 kB / 0.5253 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4599, allocations: 0 / 0.5253 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.271e-05/0.46, allocations: 21.72 kB / 0.5253 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.4602, allocations: 22.25 kB / 0.5253 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.4619, allocations: 1.492 MB / 0.5268 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.4622, allocations: 0.6965 MB / 0.5275 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.316e-05/0.4622, allocations: 11.86 kB / 0.5275 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.4623, allocations: 31.89 kB / 0.5275 GB, free: 12.02 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4623, allocations: 0 / 0.5275 GB, free: 12.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.4832, allocations: 3.074 MB / 0.5305 GB, free: 10.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.533/8.016, allocations: 21.22 kB / 0.5305 GB, free: 10.77 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_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_Test38.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches