Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",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.001537/0.001537, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.0016/0.0016, allocations: 180.2 kB / 18.71 MB, free: 4.207 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.491/1.491, 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.2315/0.2315, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 71.88 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3967, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002729/0.3994, allocations: 1.705 MB / 0.5202 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.4008, allocations: 0.8716 MB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.552e-05/0.4009, allocations: 1.156 kB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.4012, allocations: 34.64 kB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.4015, allocations: 60.25 kB / 0.5211 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.4019, allocations: 113.6 kB / 0.5212 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.4021, allocations: 91.7 kB / 0.5213 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.4022, allocations: 11.47 kB / 0.5213 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.89e-05/0.4023, allocations: 41.83 kB / 0.5214 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.373e-05/0.4024, allocations: 29.2 kB / 0.5214 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.4024, allocations: 3.531 kB / 0.5214 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.4025, allocations: 46.88 kB / 0.5214 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.4026, allocations: 25.8 kB / 0.5215 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.4027, allocations: 33.66 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.403, allocations: 111.2 kB / 0.5216 GB, free: 1.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.403, allocations: 0 / 0.5216 GB, free: 1.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.403, allocations: 1.094 kB / 0.5216 GB, free: 1.227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.4031, allocations: 0 / 0.5216 GB, free: 1.227 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.000503/0.4036, allocations: 414 kB / 0.522 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.4036, allocations: 10.69 kB / 0.522 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.689e-05/0.4036, allocations: 32.75 kB / 0.522 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.4037, allocations: 12.98 kB / 0.5221 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.4039, allocations: 211.8 kB / 0.5223 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.4039, allocations: 1.438 kB / 0.5223 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.404, allocations: 10.92 kB / 0.5223 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.4041, allocations: 57.8 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.4041, allocations: 4.594 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.4042, allocations: 0 / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4042, allocations: 1.188 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.599e-05/0.4042, allocations: 18.77 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.4046, allocations: 298.3 kB / 0.5226 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.4049, allocations: 55.38 kB / 0.5227 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.988e-05/0.405, allocations: 20.36 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.405, allocations: 1.281 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.4051, allocations: 69.91 kB / 0.5228 GB, free: 88 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.234e-06/0.4052, allocations: 1.531 kB / 0.5228 GB, free: 88 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005605/0.4057, allocations: 179.2 kB / 0.5229 GB, free: 15.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.4058, allocations: 57.39 kB / 0.523 GB, free: 15.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.406, allocations: 190.4 kB / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.406, allocations: 30.73 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.42e-05/0.4061, allocations: 108 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.4062, allocations: 22.08 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.4062, allocations: 22.52 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.4064, allocations: 326.2 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.7e-05/0.4064, allocations: 17.77 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.101e-05/0.4065, allocations: 35.5 kB / 0.5237 GB, free: 15.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.4066, allocations: 60.59 kB / 0.5238 GB, free: 15.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.4067, allocations: 0.8906 kB / 0.5238 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001878/0.4069, allocations: 105.2 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.4069, allocations: 5.281 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.4069, allocations: 1.094 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.4069, allocations: 1.953 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.111e-05/0.407, allocations: 18.58 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.407, allocations: 1.719 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.936e-05/0.4071, allocations: 10.97 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.4071, allocations: 6.125 kB / 0.5239 GB, free: 15.16 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.0001993/0.4073, allocations: 124 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/0.4074, allocations: 13.81 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.4074, allocations: 18.89 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.4074, allocations: 1.984 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4074, allocations: 1.031 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.4074, allocations: 4.875 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.4079, allocations: 393.5 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4079, allocations: 5.094 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.408, allocations: 8.266 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.408, allocations: 5.531 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.408, allocations: 6.375 kB / 0.5245 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.408, allocations: 1.656 kB / 0.5245 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.408, allocations: 0.6094 kB / 0.5245 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.4083, allocations: 200.7 kB / 0.5247 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.4083, allocations: 93.39 kB / 0.5248 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.4084, allocations: 6 kB / 0.5248 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.4084, allocations: 2.266 kB / 0.5248 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.4085, allocations: 5.516 kB / 0.5248 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.4085, allocations: 4.547 kB / 0.5248 GB, free: 14.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.4086, allocations: 148.5 kB / 0.5249 GB, free: 14.28 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4087, allocations: 0 / 0.5249 GB, free: 14.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003175/0.409, allocations: 26.33 kB / 0.5249 GB, free: 14.27 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.002274/0.4113, allocations: 1.111 MB / 0.526 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.4115, allocations: 63.95 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4115, allocations: 1.094 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.054e-05/0.4116, allocations: 24.12 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.4119, allocations: 30.3 kB / 0.5261 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.414, allocations: 1.632 MB / 0.5277 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.4143, allocations: 0.7004 MB / 0.5284 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.853e-05/0.4144, allocations: 16.8 kB / 0.5284 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.4145, allocations: 39.27 kB / 0.5285 GB, free: 11.31 MB / 398.1 MB Notification: Performance of SimCode: time 2.264e-06/0.4145, allocations: 2.719 kB / 0.5285 GB, free: 11.31 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.4445, allocations: 3.357 MB / 0.5318 GB, free: 9.883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.418/8.862, allocations: 16.73 kB / 0.5318 GB, free: 9.871 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches