Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",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.001046/0.001046, allocations: 106.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.001129/0.001129, allocations: 187.9 kB / 18.7 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.307/1.307, 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.2129/0.2129, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 71.88 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3797, allocations: 60.84 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002935/0.3827, allocations: 1.694 MB / 0.5202 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.384, allocations: 0.8755 MB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.302e-05/0.3841, allocations: 4.969 kB / 0.521 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.3844, allocations: 34.55 kB / 0.5211 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.3847, allocations: 59.2 kB / 0.5211 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.385, allocations: 105.5 kB / 0.5212 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.3852, allocations: 100.2 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3853, allocations: 11.91 kB / 0.5213 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.3854, allocations: 41.5 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.014e-05/0.3855, allocations: 30 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.3855, allocations: 4.312 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.723e-05/0.3856, allocations: 45.81 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.605e-05/0.3857, allocations: 18.92 kB / 0.5215 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.201e-05/0.3857, allocations: 33.86 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.3859, allocations: 113.7 kB / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3859, allocations: 0 / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.386, allocations: 0.6562 kB / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.386, allocations: 4 kB / 0.5216 GB, free: 1.23 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.0004808/0.3865, allocations: 407.3 kB / 0.522 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3865, allocations: 9.672 kB / 0.522 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.691e-05/0.3865, allocations: 36.31 kB / 0.522 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.3866, allocations: 10.52 kB / 0.522 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.3868, allocations: 209.5 kB / 0.5222 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3868, allocations: 6.562 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.3869, allocations: 6.5 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.387, allocations: 69.64 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.387, allocations: 1.188 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.387, allocations: 4.594 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3871, allocations: 1.125 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.431e-05/0.3871, allocations: 17.98 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.3874, allocations: 282.1 kB / 0.5226 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.3876, allocations: 61.27 kB / 0.5227 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.163e-05/0.3877, allocations: 23.09 kB / 0.5227 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.3877, allocations: 1.375 kB / 0.5227 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.3879, allocations: 66.48 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.3879, allocations: 0 / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005064/0.3884, allocations: 179.9 kB / 0.5229 GB, free: 4 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.3885, allocations: 56.72 kB / 0.523 GB, free: 15.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.3887, allocations: 191.3 kB / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.3887, allocations: 26.83 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/0.3888, allocations: 99.77 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.3888, allocations: 25.38 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/0.3889, allocations: 25.91 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.389, allocations: 322.4 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-05/0.3891, allocations: 26.44 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.817e-05/0.3892, allocations: 35.33 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.3893, allocations: 61.88 kB / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3893, allocations: 0 / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002068/0.3895, allocations: 105.1 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3895, allocations: 5.594 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3895, allocations: 4.781 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3896, allocations: 1.031 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.556e-05/0.3897, allocations: 15.39 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3897, allocations: 1.125 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.3897, allocations: 6.969 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.3897, allocations: 8.016 kB / 0.5239 GB, free: 15.17 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.878e-05/0.3898, allocations: 127.5 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.3899, allocations: 9.781 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.3899, allocations: 14.78 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3899, allocations: 8.906 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3899, allocations: 1.719 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3899, allocations: 8.062 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.3904, allocations: 386.2 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3905, allocations: 9.578 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/0.3905, allocations: 13.36 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3905, allocations: 6 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3905, allocations: 2.094 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3905, allocations: 4.828 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3905, allocations: 0 / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.3908, allocations: 205.6 kB / 0.5247 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.3909, allocations: 83.72 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.3909, allocations: 6.172 kB / 0.5248 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.391, allocations: 8.594 kB / 0.5248 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.391, allocations: 13.72 kB / 0.5248 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.391, allocations: 4.031 kB / 0.5248 GB, free: 14.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.3912, allocations: 142.4 kB / 0.5249 GB, free: 14.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3912, allocations: 0 / 0.5249 GB, free: 14.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.3914, allocations: 27.3 kB / 0.5249 GB, free: 14.28 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.001572/0.393, allocations: 1.078 MB / 0.526 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.3932, allocations: 64.02 kB / 0.5261 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3932, allocations: 5.062 kB / 0.5261 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.759e-05/0.3934, allocations: 32.78 kB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.3937, allocations: 31.27 kB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.3957, allocations: 1.64 MB / 0.5277 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.3961, allocations: 0.7056 MB / 0.5284 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.858e-05/0.3961, allocations: 12.33 kB / 0.5284 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.167e-05/0.3962, allocations: 34.28 kB / 0.5285 GB, free: 11.33 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3962, allocations: 0 / 0.5285 GB, free: 11.33 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.4189, allocations: 3.411 MB / 0.5318 GB, free: 9.879 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.41/7.829, allocations: 17.03 kB / 0.5318 GB, free: 9.867 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time