Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",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.001221/0.001221, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001179/0.001179, 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.447/1.447, 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.2207/0.2207, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 67.91 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4425, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003641/0.4462, allocations: 1.698 MB / 0.5202 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.4486, allocations: 1.488 MB / 0.5216 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.4487, allocations: 1.156 kB / 0.5216 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.4491, allocations: 40.69 kB / 0.5217 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.4495, allocations: 55.45 kB / 0.5217 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.4499, allocations: 117.6 kB / 0.5218 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.4501, allocations: 100.3 kB / 0.5219 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.4503, allocations: 12.62 kB / 0.5219 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.4504, allocations: 42.17 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.4506, allocations: 40.17 kB / 0.522 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.4506, allocations: 4.406 kB / 0.522 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.4508, allocations: 57.8 kB / 0.5221 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.83e-05/0.4509, allocations: 20.28 kB / 0.5221 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.193e-05/0.4509, allocations: 28.11 kB / 0.5221 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.4513, allocations: 129.7 kB / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.4513, allocations: 1.031 kB / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4513, allocations: 0 / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.4513, 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.0005918/0.4519, allocations: 408.8 kB / 0.5226 GB, free: 348 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.452, allocations: 10.62 kB / 0.5226 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.919e-05/0.452, allocations: 32.48 kB / 0.5227 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/0.4521, allocations: 12.81 kB / 0.5227 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.4524, allocations: 206 kB / 0.5229 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.4524, allocations: 5.625 kB / 0.5229 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.4525, allocations: 7 kB / 0.5229 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.4527, allocations: 74.8 kB / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4527, allocations: 0 / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.4527, allocations: 1.812 kB / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.4527, allocations: 1 kB / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.93e-05/0.4528, allocations: 21.81 kB / 0.523 GB, free: 0 / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.4532, allocations: 283.5 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.4534, allocations: 61.47 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.054e-05/0.4535, allocations: 23.98 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.4535, allocations: 1.281 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.4537, allocations: 70.69 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.4537, allocations: 0 / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005707/0.4543, allocations: 166.7 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.4544, allocations: 82.88 kB / 0.5236 GB, free: 15.42 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.4545, allocations: 154.3 kB / 0.5238 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.4546, allocations: 27.2 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.4546, allocations: 93.12 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.4547, allocations: 30.36 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.4547, allocations: 30.23 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4549, allocations: 325 kB / 0.5243 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.456e-05/0.4549, allocations: 17.81 kB / 0.5243 GB, free: 14.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.888e-05/0.455, allocations: 45.58 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.4552, allocations: 57.59 kB / 0.5244 GB, free: 14.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.4552, allocations: 4.031 kB / 0.5244 GB, free: 14.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002095/0.4554, allocations: 100.8 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.4554, allocations: 5.844 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4554, allocations: 0.8906 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.4555, allocations: 5.266 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.218e-05/0.4555, allocations: 15.42 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.4556, allocations: 5.797 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.723e-05/0.4556, allocations: 7.141 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.4556, allocations: 2.219 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.0001133/0.4558, allocations: 125.8 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.4558, allocations: 14.19 kB / 0.5247 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.4559, allocations: 13.06 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4559, allocations: 5.188 kB / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.4559, allocations: 1.219 kB / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4559, allocations: 8.391 kB / 0.5247 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005042/0.4564, allocations: 384.9 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4564, allocations: 4.031 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.4565, allocations: 13.42 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.4565, allocations: 5 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.4565, allocations: 2.266 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.4565, allocations: 1.969 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4565, allocations: 1.906 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.4568, allocations: 203 kB / 0.5253 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-05/0.4568, allocations: 89.56 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.4569, allocations: 5.984 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/0.4569, allocations: 3.281 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.462e-05/0.457, allocations: 5.766 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.457, allocations: 8.406 kB / 0.5254 GB, free: 13.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.4571, allocations: 115.4 kB / 0.5255 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4571, allocations: 0 / 0.5255 GB, free: 13.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.4574, allocations: 30.58 kB / 0.5255 GB, free: 13.78 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.001657/0.4591, allocations: 1.139 MB / 0.5266 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.4593, allocations: 59.38 kB / 0.5267 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4593, allocations: 1.75 kB / 0.5267 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.369e-05/0.4594, allocations: 28.22 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.000339/0.4598, allocations: 44.14 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.001821/0.4616, allocations: 1.538 MB / 0.5283 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.462, allocations: 0.6991 MB / 0.529 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.668e-05/0.4621, allocations: 18.78 kB / 0.529 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.387e-05/0.4622, allocations: 34.34 kB / 0.529 GB, free: 10.84 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4622, allocations: 0 / 0.529 GB, free: 10.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.4855, allocations: 3.557 MB / 0.5325 GB, free: 9.207 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.494/7.98, allocations: 5.094 kB / 0.5325 GB, free: 9.203 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_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_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches