Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",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.001192/0.001192, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001177/0.001177, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.373/1.373, 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.1979/0.1979, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3146, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.00265/0.3173, allocations: 1.667 MB / 0.5201 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3186, allocations: 0.8559 MB / 0.521 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.773e-05/0.3187, allocations: 1.406 kB / 0.521 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.319, allocations: 49.75 kB / 0.521 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.3192, allocations: 60.08 kB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.3195, allocations: 112 kB / 0.5212 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.3197, allocations: 88.16 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.3197, allocations: 5.172 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.764e-05/0.3198, allocations: 44.69 kB / 0.5213 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.562e-05/0.3199, allocations: 28.77 kB / 0.5213 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.3199, allocations: 3.875 kB / 0.5213 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.447e-05/0.32, allocations: 26.48 kB / 0.5214 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.32, allocations: 22.66 kB / 0.5214 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.811e-05/0.3201, allocations: 46.64 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.3202, allocations: 114.8 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3203, allocations: 5.125 kB / 0.5215 GB, free: 1.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3203, allocations: 0 / 0.5215 GB, free: 1.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.3203, allocations: 0 / 0.5215 GB, free: 1.266 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.0004172/0.3207, allocations: 435.7 kB / 0.522 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3207, allocations: 9.75 kB / 0.522 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.191e-05/0.3208, allocations: 33.28 kB / 0.522 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.3208, allocations: 14.31 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.321, allocations: 210.9 kB / 0.5222 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.321, allocations: 1.469 kB / 0.5222 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.321, allocations: 9.859 kB / 0.5222 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.3212, allocations: 50.58 kB / 0.5223 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3212, allocations: 4 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.3212, allocations: 0 / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3212, allocations: 1.312 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.778e-05/0.3213, allocations: 14.8 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.3214, allocations: 186.8 kB / 0.5225 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.3216, allocations: 60.77 kB / 0.5225 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.231e-05/0.3217, allocations: 23 kB / 0.5225 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.3217, allocations: 4.984 kB / 0.5226 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.3218, allocations: 69.59 kB / 0.5226 GB, free: 212 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.3219, allocations: 0 / 0.5226 GB, free: 212 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000253/0.3221, allocations: 96.83 kB / 0.5227 GB, free: 156 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/0.3221, allocations: 60.5 kB / 0.5228 GB, free: 84 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.3224, allocations: 267 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.3224, allocations: 26.22 kB / 0.523 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.3225, allocations: 114.8 kB / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.3225, allocations: 8.125 kB / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.3226, allocations: 19.02 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3227, allocations: 329.1 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.792e-05/0.3228, allocations: 13.31 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.298e-05/0.3228, allocations: 26.58 kB / 0.5235 GB, free: 15.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.3229, allocations: 46.7 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3229, allocations: 7.875 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001548/0.3231, allocations: 86.05 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3231, allocations: 4.781 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3231, allocations: 1.594 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3232, allocations: 1.031 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.603e-05/0.3232, allocations: 14.8 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.3233, allocations: 9.875 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/0.3233, allocations: 6.641 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.3233, allocations: 2.172 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 9.854e-05/0.3234, allocations: 132.8 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.3235, allocations: 18.38 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/0.3235, allocations: 19 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3235, allocations: 0 / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3235, allocations: 1.688 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3235, allocations: 0 / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.3237, allocations: 198.5 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3237, allocations: 320 / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.3237, allocations: 8.031 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3237, allocations: 1.094 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.3237, allocations: 2 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3237, allocations: 0 / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3237, allocations: 0 / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.3239, allocations: 118.4 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.324, allocations: 92.73 kB / 0.5243 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.324, allocations: 1.984 kB / 0.5243 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.465e-05/0.3241, allocations: 3.297 kB / 0.5243 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.3241, allocations: 7.5 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.3241, allocations: 2.875 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.3243, allocations: 200 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3243, allocations: 3.938 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000262/0.3246, allocations: 18.84 kB / 0.5245 GB, free: 14.64 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.001185/0.3258, allocations: 0.9615 MB / 0.5254 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.3259, allocations: 45.02 kB / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3259, allocations: 0 / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.976e-05/0.326, allocations: 18.36 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.0002571/0.3263, allocations: 28.81 kB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.328, allocations: 1.653 MB / 0.5271 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.3283, allocations: 0.7125 MB / 0.5278 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.182e-05/0.3284, allocations: 9.984 kB / 0.5278 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/0.3284, allocations: 37.67 kB / 0.5279 GB, free: 11.85 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3284, allocations: 4 kB / 0.5279 GB, free: 11.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.3465, allocations: 3.447 MB / 0.5313 GB, free: 10.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/8.002, allocations: 9.719 kB / 0.5313 GB, free: 10.38 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result: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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time