Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",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.001164/0.001164, 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.001208/0.001208, 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.499/1.499, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2468/0.2468, allocations: 44.19 MB / 336.7 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 71.88 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4857/0.4873, allocations: 60.82 MB / 0.5185 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003165/0.4905, allocations: 1.705 MB / 0.5202 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.4924, allocations: 0.8715 MB / 0.521 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.722e-05/0.4925, allocations: 0 / 0.521 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.4929, allocations: 37 kB / 0.5211 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.4932, allocations: 58.73 kB / 0.5211 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.4937, allocations: 117.1 kB / 0.5212 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.4939, allocations: 99.8 kB / 0.5213 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.494, allocations: 12.16 kB / 0.5213 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.4942, allocations: 40.23 kB / 0.5214 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.4943, allocations: 30.48 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.4943, allocations: 4.344 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.4944, allocations: 42.64 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.4945, allocations: 26.48 kB / 0.5215 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.83e-05/0.4946, allocations: 37 kB / 0.5215 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.4948, allocations: 105.8 kB / 0.5216 GB, free: 1.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4949, allocations: 0.7969 kB / 0.5216 GB, free: 1.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4949, allocations: 0 / 0.5216 GB, free: 1.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.4949, allocations: 1.094 kB / 0.5216 GB, free: 1.254 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.0005537/0.4954, allocations: 410.7 kB / 0.522 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.4955, allocations: 9.656 kB / 0.522 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.144e-05/0.4955, allocations: 32.73 kB / 0.522 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.4956, allocations: 14.03 kB / 0.5221 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.4958, allocations: 214.4 kB / 0.5223 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.4958, allocations: 1.438 kB / 0.5223 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.4959, allocations: 6.281 kB / 0.5223 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.496, allocations: 54.17 kB / 0.5223 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.496, allocations: 4.547 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.496, allocations: 1.094 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.496, allocations: 1.344 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.836e-05/0.4961, allocations: 21.27 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.4965, allocations: 287.1 kB / 0.5226 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.4966, allocations: 59.73 kB / 0.5227 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.393e-05/0.4967, allocations: 20.41 kB / 0.5227 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.4967, allocations: 0.9688 kB / 0.5227 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.4969, allocations: 70.39 kB / 0.5228 GB, free: 128 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.4969, allocations: 0 / 0.5228 GB, free: 128 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005577/0.4975, allocations: 179.7 kB / 0.5229 GB, free: 32 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.4976, allocations: 57.34 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.4978, allocations: 187.6 kB / 0.5232 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.4978, allocations: 29.7 kB / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.4979, allocations: 104.3 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.4979, allocations: 29.5 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.498, allocations: 22.44 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4981, allocations: 325.1 kB / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.4982, allocations: 18.36 kB / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.837e-05/0.4983, allocations: 40.39 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.4984, allocations: 65.36 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4984, allocations: 0 / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001845/0.4986, allocations: 105 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4986, allocations: 6.156 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4986, allocations: 3.984 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4987, allocations: 1.281 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.934e-05/0.4987, allocations: 20.12 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4988, allocations: 1.469 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.4988, allocations: 10.69 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.4988, allocations: 3.625 kB / 0.5239 GB, free: 15.19 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.073e-05/0.4989, allocations: 123.9 kB / 0.524 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.499, allocations: 13.62 kB / 0.524 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.499, allocations: 16.41 kB / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.499, allocations: 1.594 kB / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.499, allocations: 0 / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.499, allocations: 4.641 kB / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.4995, allocations: 385.5 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4995, allocations: 5.25 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.4995, allocations: 8.688 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.4995, allocations: 5.5 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.4996, allocations: 6.594 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4996, allocations: 5.266 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4996, allocations: 1.062 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.4998, allocations: 208.5 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.4999, allocations: 88.86 kB / 0.5248 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.4999, allocations: 6.031 kB / 0.5248 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.63e-05/0.5, allocations: 3.5 kB / 0.5248 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.5, allocations: 5.516 kB / 0.5248 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.5, allocations: 8.406 kB / 0.5248 GB, free: 14.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.5001, allocations: 144.1 kB / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5001, allocations: 0 / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.5004, allocations: 25.45 kB / 0.5249 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.001353/0.5018, allocations: 1.092 MB / 0.526 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.502, allocations: 65.08 kB / 0.5261 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.502, allocations: 0 / 0.5261 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.233e-05/0.502, allocations: 28.47 kB / 0.5261 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.5024, allocations: 33.8 kB / 0.5261 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.5042, allocations: 1.627 MB / 0.5277 GB, free: 12.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.5045, allocations: 0.7053 MB / 0.5284 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.428e-05/0.5046, allocations: 12.69 kB / 0.5284 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.658e-05/0.5046, allocations: 35.77 kB / 0.5284 GB, free: 11.36 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5046, allocations: 0 / 0.5284 GB, free: 11.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.5257, allocations: 3.419 MB / 0.5318 GB, free: 9.906 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.531/8.057, allocations: 9.109 kB / 0.5318 GB, free: 9.898 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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