Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",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: 110.4 kB / 17.78 MB, free: 5.293 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.001131/0.001131, allocations: 187.1 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.288/1.288, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.196/0.196, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001429, allocations: 67.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3759, allocations: 60.82 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003998/0.38, allocations: 1.701 MB / 0.5202 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.3818, allocations: 0.871 MB / 0.521 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.382, allocations: 3.938 kB / 0.521 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003992/0.3824, allocations: 32.44 kB / 0.5211 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.3828, allocations: 56.69 kB / 0.5211 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.3833, allocations: 110.4 kB / 0.5212 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.3836, allocations: 99.95 kB / 0.5213 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.3837, allocations: 12.5 kB / 0.5213 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.3839, allocations: 40.17 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.384, allocations: 30.72 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.3841, allocations: 4.125 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.3843, allocations: 42.42 kB / 0.5214 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.485e-05/0.3844, allocations: 20.69 kB / 0.5214 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.809e-05/0.3845, allocations: 27.98 kB / 0.5215 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.3848, allocations: 114.7 kB / 0.5216 GB, free: 1.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.3848, allocations: 0 / 0.5216 GB, free: 1.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3849, allocations: 1.125 kB / 0.5216 GB, free: 1.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.3849, allocations: 0 / 0.5216 GB, free: 1.211 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.0007525/0.3856, allocations: 400.9 kB / 0.522 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.363e-05/0.3857, allocations: 9.031 kB / 0.522 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.624e-05/0.3858, allocations: 36.52 kB / 0.522 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.435e-05/0.3858, allocations: 10.11 kB / 0.522 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.3863, allocations: 207.5 kB / 0.5222 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.3863, allocations: 5.219 kB / 0.5222 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.3863, allocations: 6.891 kB / 0.5222 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.3865, allocations: 58.52 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.3865, allocations: 0 / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.3866, allocations: 4.609 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3866, allocations: 1.531 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.054e-05/0.3867, allocations: 18.05 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.3871, allocations: 283.7 kB / 0.5226 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.3874, allocations: 64.31 kB / 0.5226 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.477e-05/0.3874, allocations: 20.61 kB / 0.5227 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.3875, allocations: 4.984 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.3877, allocations: 65.11 kB / 0.5227 GB, free: 92 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.484e-06/0.3877, allocations: 4 kB / 0.5227 GB, free: 88 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007337/0.3885, allocations: 172.3 kB / 0.5229 GB, free: 0 / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.797e-05/0.3886, allocations: 61.14 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.3888, allocations: 156.6 kB / 0.5231 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.3888, allocations: 27.3 kB / 0.5231 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/0.3889, allocations: 102.2 kB / 0.5232 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.389, allocations: 17.47 kB / 0.5232 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.389, allocations: 26.05 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3892, allocations: 326 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.169e-05/0.3893, allocations: 17.08 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.899e-05/0.3893, allocations: 38.81 kB / 0.5236 GB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.3895, allocations: 58.25 kB / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3895, allocations: 0 / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002197/0.3897, allocations: 108.5 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3897, allocations: 5.5 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.3898, allocations: 2.062 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3898, allocations: 4.969 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.366e-05/0.3899, allocations: 18.58 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3899, allocations: 5.688 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.3899, allocations: 3.172 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.39, allocations: 3.812 kB / 0.5238 GB, free: 15.18 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 9.783e-05/0.3901, allocations: 125.7 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.3901, allocations: 18.2 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.514e-05/0.3901, allocations: 21.38 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3902, allocations: 1.125 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.3902, allocations: 0.9844 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3902, allocations: 1.531 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004514/0.3906, allocations: 386.6 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3906, allocations: 3.938 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.3907, allocations: 10.44 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3907, allocations: 4.031 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.3907, allocations: 7.516 kB / 0.5244 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3907, allocations: 0.5625 kB / 0.5244 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.3907, allocations: 1.188 kB / 0.5244 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.391, allocations: 207.2 kB / 0.5246 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.391, allocations: 85.67 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.3911, allocations: 5.719 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.3911, allocations: 7.531 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.3912, allocations: 5.844 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.3912, allocations: 4.203 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.3913, allocations: 123.9 kB / 0.5248 GB, free: 14.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3913, allocations: 0 / 0.5248 GB, free: 14.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.3916, allocations: 21.45 kB / 0.5248 GB, free: 14.3 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.001682/0.3933, allocations: 1.098 MB / 0.5259 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.3935, allocations: 59.23 kB / 0.526 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3935, allocations: 1.094 kB / 0.526 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.3936, allocations: 32.41 kB / 0.526 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.394, allocations: 30.84 kB / 0.526 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.3958, allocations: 1.573 MB / 0.5276 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.3961, allocations: 0.6981 MB / 0.5282 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.138e-05/0.3962, allocations: 13.22 kB / 0.5283 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.3963, allocations: 32.06 kB / 0.5283 GB, free: 11.37 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3963, allocations: 0 / 0.5283 GB, free: 11.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.4181, allocations: 3.306 MB / 0.5315 GB, free: 9.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.41/7.828, allocations: 12.95 kB / 0.5315 GB, free: 9.965 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches