Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",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.001637/0.001637, allocations: 113.8 kB / 17.78 MB, free: 5.277 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.001517/0.001517, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.496/1.496, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2489/0.2489, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 63.91 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3906, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003275/0.3939, allocations: 1.67 MB / 0.5201 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.3957, allocations: 0.8582 MB / 0.521 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.879e-05/0.3958, allocations: 5.188 kB / 0.521 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.3962, allocations: 41.97 kB / 0.521 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.3964, allocations: 68.69 kB / 0.5211 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.397, allocations: 103.4 kB / 0.5212 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.3971, allocations: 88.03 kB / 0.5213 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.816e-05/0.3972, allocations: 8.938 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.136e-05/0.3973, allocations: 37.78 kB / 0.5213 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.844e-05/0.3974, allocations: 27.61 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.3974, allocations: 4.125 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.184e-05/0.3975, allocations: 38.31 kB / 0.5214 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.961e-05/0.3976, allocations: 22.34 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.849e-05/0.3976, allocations: 41.61 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.3979, allocations: 113.8 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3979, allocations: 0 / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3979, allocations: 0 / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.3979, allocations: 0 / 0.5215 GB, free: 1.273 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.0004819/0.3984, allocations: 437.5 kB / 0.522 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3984, allocations: 10.94 kB / 0.522 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.3985, allocations: 35.44 kB / 0.522 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.3985, allocations: 15.67 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.3989, allocations: 216.8 kB / 0.5222 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.3989, allocations: 6.109 kB / 0.5222 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.3989, allocations: 6.188 kB / 0.5222 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.3991, allocations: 47.08 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3991, allocations: 0 / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3991, allocations: 0 / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3991, allocations: 1.281 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.54e-05/0.3992, allocations: 14.95 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.3994, allocations: 194.2 kB / 0.5225 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.3996, allocations: 56.73 kB / 0.5225 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.3996, allocations: 19.53 kB / 0.5226 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.3997, allocations: 9.766 kB / 0.5226 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/0.3999, allocations: 71.33 kB / 0.5226 GB, free: 204 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.436e-06/0.4, allocations: 1.25 kB / 0.5226 GB, free: 204 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003976/0.4004, allocations: 101.4 kB / 0.5227 GB, free: 144 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.4004, allocations: 52.06 kB / 0.5228 GB, free: 80 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.4007, allocations: 258.1 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.4007, allocations: 26.92 kB / 0.5231 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.801e-05/0.4008, allocations: 115.4 kB / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.4008, allocations: 19.17 kB / 0.5232 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.4009, allocations: 23.7 kB / 0.5232 GB, free: 15.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4011, allocations: 324.9 kB / 0.5235 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.035e-05/0.4011, allocations: 13.52 kB / 0.5235 GB, free: 15.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.978e-05/0.4012, allocations: 30.36 kB / 0.5236 GB, free: 15.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.4014, allocations: 47.42 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/0.4014, allocations: 7.938 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001704/0.4016, allocations: 81.7 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4017, allocations: 4.844 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4017, allocations: 5.031 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4017, allocations: 1.156 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.4018, allocations: 10.69 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.4018, allocations: 2.188 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.4018, allocations: 3.188 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.4018, allocations: 1.188 kB / 0.5237 GB, free: 15.32 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.0001389/0.402, allocations: 141.9 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.402, allocations: 14.17 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.4021, allocations: 17.94 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.4021, allocations: 1.125 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4021, allocations: 1.156 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4021, allocations: 0.6562 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.4023, allocations: 197 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.4023, allocations: 0 / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-05/0.4023, allocations: 4.375 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4023, allocations: 5.781 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.4024, allocations: 6.234 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.4024, allocations: 7.938 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4024, allocations: 0 / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.4026, allocations: 110.7 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.4028, allocations: 93.44 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.4029, allocations: 1.734 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.588e-05/0.4029, allocations: 2.422 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.4029, allocations: 7.609 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.403, allocations: 2.828 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002025/0.4032, allocations: 204.3 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4032, allocations: 3.938 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.4034, allocations: 18.3 kB / 0.5245 GB, free: 14.63 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.002019/0.4054, allocations: 0.9611 MB / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003157/0.4058, allocations: 40.67 kB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4058, allocations: 0 / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.613e-05/0.4058, allocations: 22.8 kB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.4061, allocations: 27.88 kB / 0.5255 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.4083, allocations: 1.657 MB / 0.5272 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005722/0.409, allocations: 0.716 MB / 0.5279 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.712e-05/0.409, allocations: 16.12 kB / 0.5279 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.731e-05/0.4091, allocations: 36.27 kB / 0.5279 GB, free: 11.83 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4091, allocations: 0 / 0.5279 GB, free: 11.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03362/0.4428, allocations: 3.41 MB / 0.5312 GB, free: 10.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.597, allocations: 16 kB / 0.5313 GB, free: 10.38 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches