Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",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.001044/0.001044, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001018/0.001018, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.404/1.404, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2354/0.2354, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 63.91 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4726/0.4743, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003341/0.4777, allocations: 1.666 MB / 0.5201 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.4794, allocations: 0.8503 MB / 0.5209 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.835e-05/0.4795, allocations: 5.312 kB / 0.521 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004483/0.48, allocations: 47.05 kB / 0.521 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.4803, allocations: 64.77 kB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.4806, allocations: 103 kB / 0.5212 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.4808, allocations: 92.75 kB / 0.5212 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.223e-05/0.4809, allocations: 9.812 kB / 0.5213 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.4811, allocations: 49.28 kB / 0.5213 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.4812, allocations: 35.5 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.4812, allocations: 2.312 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.4814, allocations: 38.2 kB / 0.5214 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.105e-05/0.4814, allocations: 17.33 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.347e-05/0.4815, allocations: 28.02 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.4818, allocations: 96.67 kB / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.4818, allocations: 4.5 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4818, allocations: 5 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.4818, allocations: 0 / 0.5215 GB, free: 1.281 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.0006469/0.4825, allocations: 399.4 kB / 0.5219 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.4825, allocations: 9.562 kB / 0.5219 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.349e-05/0.4826, allocations: 31.5 kB / 0.5219 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.4826, allocations: 9.312 kB / 0.522 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.483, allocations: 209.3 kB / 0.5221 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.483, allocations: 2.328 kB / 0.5222 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.483, allocations: 5.125 kB / 0.5222 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.4832, allocations: 50.78 kB / 0.5222 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4832, allocations: 3.984 kB / 0.5222 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.4832, allocations: 1.594 kB / 0.5222 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4832, allocations: 0 / 0.5222 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.287e-05/0.4833, allocations: 15.66 kB / 0.5222 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.4835, allocations: 176.5 kB / 0.5224 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.4836, allocations: 61.45 kB / 0.5225 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.923e-05/0.4837, allocations: 19.52 kB / 0.5225 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.4837, allocations: 6.016 kB / 0.5225 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.4839, allocations: 64.22 kB / 0.5225 GB, free: 264 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.4839, allocations: 0 / 0.5225 GB, free: 264 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002907/0.4842, allocations: 99.8 kB / 0.5226 GB, free: 204 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.4842, allocations: 57.19 kB / 0.5227 GB, free: 136 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.4844, allocations: 170.7 kB / 0.5229 GB, free: 12 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.4845, allocations: 25.7 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.4845, allocations: 99.42 kB / 0.523 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.4846, allocations: 14.83 kB / 0.523 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.4846, allocations: 20.08 kB / 0.523 GB, free: 15.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4847, allocations: 325 kB / 0.5233 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.308e-05/0.4848, allocations: 14.73 kB / 0.5233 GB, free: 15.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.936e-05/0.4849, allocations: 29.81 kB / 0.5234 GB, free: 15.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.485, allocations: 47.38 kB / 0.5234 GB, free: 15.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.485, allocations: 3.938 kB / 0.5234 GB, free: 15.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001743/0.4852, allocations: 76.2 kB / 0.5235 GB, free: 15.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.4852, allocations: 5.312 kB / 0.5235 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4852, allocations: 0.9062 kB / 0.5235 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4852, allocations: 5 kB / 0.5235 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.153e-05/0.4853, allocations: 14.25 kB / 0.5235 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.4854, allocations: 6.062 kB / 0.5235 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.4854, allocations: 10.64 kB / 0.5235 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.4854, allocations: 2.188 kB / 0.5235 GB, free: 15.41 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.0001013/0.4855, allocations: 123.8 kB / 0.5236 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.4856, allocations: 16.25 kB / 0.5237 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.4856, allocations: 14.19 kB / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.4856, allocations: 1.25 kB / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4856, allocations: 4.656 kB / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.4856, allocations: 0 / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.4858, allocations: 180.5 kB / 0.5238 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4858, allocations: 0.6094 kB / 0.5238 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-05/0.4858, allocations: 4.188 kB / 0.5238 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4859, allocations: 0.9688 kB / 0.5238 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.4859, allocations: 5.953 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4859, allocations: 0.6562 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.4859, allocations: 9.062 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.4861, allocations: 107.3 kB / 0.524 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.4862, allocations: 84 kB / 0.524 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.4862, allocations: 6.969 kB / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.414e-05/0.4862, allocations: 2.234 kB / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.4863, allocations: 4.484 kB / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.4863, allocations: 2.906 kB / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.4864, allocations: 130.1 kB / 0.5242 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4864, allocations: 0 / 0.5242 GB, free: 14.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.4867, allocations: 22.39 kB / 0.5242 GB, free: 14.77 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.001374/0.488, allocations: 0.9573 MB / 0.5251 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.4882, allocations: 41.39 kB / 0.5252 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4882, allocations: 0 / 0.5252 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.1e-05/0.4883, allocations: 27.25 kB / 0.5252 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.0002807/0.4886, allocations: 21.36 kB / 0.5252 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.4905, allocations: 1.452 MB / 0.5266 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.4908, allocations: 0.6989 MB / 0.5273 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.936e-05/0.4909, allocations: 16.33 kB / 0.5273 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.291e-05/0.491, allocations: 28.42 kB / 0.5274 GB, free: 12.05 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.491, allocations: 0 / 0.5274 GB, free: 12.05 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.5162, allocations: 3.057 MB / 0.5304 GB, free: 10.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/8.009, allocations: 4.406 kB / 0.5304 GB, free: 10.83 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches