Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",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.001081/0.001081, allocations: 113.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: 188.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.389/1.389, allocations: 222.9 MB / 242.4 MB, free: 15.13 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.2403/0.2403, allocations: 44.18 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 71.84 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4349/0.4367, allocations: 60.82 MB / 0.5185 GB, free: 3.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003822/0.4405, allocations: 1.71 MB / 0.5202 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.4426, allocations: 0.8727 MB / 0.521 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.499e-05/0.4427, allocations: 4.969 kB / 0.521 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004249/0.4431, allocations: 50.97 kB / 0.5211 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.4434, allocations: 63.89 kB / 0.5211 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.4438, allocations: 109.5 kB / 0.5212 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.444, allocations: 95.19 kB / 0.5213 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.4441, allocations: 8.859 kB / 0.5213 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.4443, allocations: 44.52 kB / 0.5214 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.722e-05/0.4444, allocations: 34.44 kB / 0.5214 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.4444, allocations: 3.594 kB / 0.5214 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.4445, allocations: 43.44 kB / 0.5215 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.8e-05/0.4446, allocations: 31.95 kB / 0.5215 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.572e-05/0.4447, allocations: 42.73 kB / 0.5215 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.445, allocations: 130.4 kB / 0.5217 GB, free: 1.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.445, allocations: 0 / 0.5217 GB, free: 1.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.445, allocations: 0 / 0.5217 GB, free: 1.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.445, allocations: 0 / 0.5217 GB, free: 1.461 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.0006727/0.4457, allocations: 450.2 kB / 0.5221 GB, free: 1.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4457, allocations: 8.75 kB / 0.5221 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.367e-05/0.4458, allocations: 36.7 kB / 0.5221 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.4458, allocations: 15.64 kB / 0.5221 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.4461, allocations: 223.4 kB / 0.5224 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.4461, allocations: 3.438 kB / 0.5224 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.4461, allocations: 10.22 kB / 0.5224 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.4463, allocations: 48.75 kB / 0.5224 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.4463, allocations: 13.34 kB / 0.5224 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.4463, allocations: 4 kB / 0.5224 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4463, allocations: 0.9688 kB / 0.5224 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.761e-05/0.4464, allocations: 18.88 kB / 0.5224 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.4468, allocations: 294.7 kB / 0.5227 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.447, allocations: 51.58 kB / 0.5228 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.495e-05/0.447, allocations: 28.69 kB / 0.5228 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.447, allocations: 1.344 kB / 0.5228 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.4472, allocations: 70.42 kB / 0.5229 GB, free: 292 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.4472, allocations: 0 / 0.5229 GB, free: 292 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005594/0.4478, allocations: 183.4 kB / 0.5231 GB, free: 196 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.4478, allocations: 57.33 kB / 0.5231 GB, free: 128 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.4482, allocations: 279.9 kB / 0.5234 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.4482, allocations: 27.45 kB / 0.5234 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.971e-05/0.4483, allocations: 123.3 kB / 0.5235 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.4483, allocations: 22.22 kB / 0.5235 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.4484, allocations: 21.55 kB / 0.5236 GB, free: 15.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4485, allocations: 329.2 kB / 0.5239 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.919e-05/0.4486, allocations: 18.53 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.789e-05/0.4487, allocations: 38.44 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.4488, allocations: 61.42 kB / 0.524 GB, free: 15.4 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4488, allocations: 1.312 kB / 0.524 GB, free: 15.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000197/0.449, allocations: 103 kB / 0.5241 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.449, allocations: 5.938 kB / 0.5241 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.449, allocations: 4.5 kB / 0.5241 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.449, allocations: 1.938 kB / 0.5241 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.945e-05/0.4491, allocations: 18.19 kB / 0.5241 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4492, allocations: 1.406 kB / 0.5241 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.4492, allocations: 12.3 kB / 0.5241 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.4492, allocations: 1.469 kB / 0.5241 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 (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.000119/0.4494, allocations: 140 kB / 0.5243 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.4494, allocations: 15.12 kB / 0.5243 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.4494, allocations: 28.23 kB / 0.5243 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4495, allocations: 0 / 0.5243 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4495, allocations: 1.5 kB / 0.5243 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4495, allocations: 8.781 kB / 0.5243 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.45, allocations: 406.7 kB / 0.5247 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.45, allocations: 1.125 kB / 0.5247 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/0.45, allocations: 8.469 kB / 0.5247 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.45, allocations: 4.938 kB / 0.5247 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.4501, allocations: 3.281 kB / 0.5247 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4501, allocations: 1.078 kB / 0.5247 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4501, allocations: 1.469 kB / 0.5247 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.4503, allocations: 210.2 kB / 0.5249 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/0.4504, allocations: 89.11 kB / 0.525 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.4504, allocations: 11.14 kB / 0.525 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.4505, allocations: 6.625 kB / 0.525 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.4505, allocations: 10.11 kB / 0.525 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.4506, allocations: 4.656 kB / 0.525 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001897/0.4508, allocations: 208.5 kB / 0.5252 GB, free: 14.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4508, allocations: 0 / 0.5252 GB, free: 14.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.451, allocations: 23.14 kB / 0.5253 GB, free: 14.4 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.001484/0.4525, allocations: 1.102 MB / 0.5263 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.4527, allocations: 54.95 kB / 0.5264 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4527, allocations: 5.75 kB / 0.5264 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.435e-05/0.4528, allocations: 31.09 kB / 0.5264 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.4532, allocations: 39.33 kB / 0.5265 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.4552, allocations: 1.827 MB / 0.5282 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.4556, allocations: 0.7179 MB / 0.5289 GB, free: 11.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.541e-05/0.4556, allocations: 13.25 kB / 0.529 GB, free: 11.42 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.419e-05/0.4557, allocations: 44.78 kB / 0.529 GB, free: 11.39 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4557, allocations: 0 / 0.529 GB, free: 11.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.4793, allocations: 3.806 MB / 0.5327 GB, free: 9.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.736/8.215, allocations: 22.16 kB / 0.5327 GB, free: 9.629 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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[10,1],t_new.table[10,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