Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",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.001094/0.001094, allocations: 110.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.001224/0.001224, 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.391/1.391, 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.2393/0.2393, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001578, allocations: 59.91 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.4385, allocations: 60.84 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003352/0.4419, allocations: 1.717 MB / 0.5202 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.4439, allocations: 0.8769 MB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.4442, allocations: 1.531 kB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005459/0.4448, allocations: 112.4 kB / 0.5212 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004492/0.4452, allocations: 81.03 kB / 0.5212 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005848/0.4458, allocations: 109.6 kB / 0.5213 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000373/0.4462, allocations: 117.2 kB / 0.5215 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.4464, allocations: 20.61 kB / 0.5215 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.4466, allocations: 58.86 kB / 0.5215 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.4468, allocations: 62.98 kB / 0.5216 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.4468, allocations: 4.25 kB / 0.5216 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.447, allocations: 62.33 kB / 0.5217 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.4471, allocations: 26.5 kB / 0.5217 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.311e-05/0.4472, allocations: 42.42 kB / 0.5217 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.4476, allocations: 137.4 kB / 0.5219 GB, free: 1.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4476, allocations: 1.188 kB / 0.5219 GB, free: 1.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4476, allocations: 0 / 0.5219 GB, free: 1.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.4476, allocations: 8.641 kB / 0.5219 GB, free: 1.16 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006572/0.4483, allocations: 439.6 kB / 0.5223 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.4483, allocations: 10.98 kB / 0.5223 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/0.4484, allocations: 36.98 kB / 0.5223 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.384e-05/0.4484, allocations: 11.38 kB / 0.5223 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.4488, allocations: 222.5 kB / 0.5226 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.4488, allocations: 1.562 kB / 0.5226 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.4488, allocations: 11.77 kB / 0.5226 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.449, allocations: 61.8 kB / 0.5226 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.449, allocations: 0 / 0.5226 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.4491, allocations: 5.875 kB / 0.5226 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4491, allocations: 0 / 0.5226 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.182e-05/0.4492, allocations: 25.84 kB / 0.5227 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.4496, allocations: 310.5 kB / 0.523 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.4499, allocations: 64.59 kB / 0.523 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.913e-05/0.4499, allocations: 20.66 kB / 0.523 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.45, allocations: 1.953 kB / 0.523 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.4502, allocations: 75.86 kB / 0.5231 GB, free: 15.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.4502, allocations: 0 / 0.5231 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008711/0.4511, allocations: 241.1 kB / 0.5233 GB, free: 15.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.4511, allocations: 61.44 kB / 0.5234 GB, free: 15.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.4514, allocations: 235.2 kB / 0.5236 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.4514, allocations: 27.33 kB / 0.5236 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.408e-05/0.4515, allocations: 113.7 kB / 0.5238 GB, free: 15.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.4516, allocations: 33.47 kB / 0.5238 GB, free: 15.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.4516, allocations: 28.89 kB / 0.5238 GB, free: 15.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4518, allocations: 323.5 kB / 0.5241 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8e-05/0.4518, allocations: 34.91 kB / 0.5242 GB, free: 15.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.477e-05/0.4519, allocations: 52.31 kB / 0.5242 GB, free: 15.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.4521, allocations: 83.84 kB / 0.5243 GB, free: 15.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4521, allocations: 0 / 0.5243 GB, free: 15.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002415/0.4524, allocations: 126.4 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4524, allocations: 4.25 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4524, allocations: 1.469 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.4524, allocations: 5.984 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.226e-05/0.4525, allocations: 23.58 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.4525, allocations: 1.281 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.765e-05/0.4526, allocations: 7.281 kB / 0.5244 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.4526, allocations: 3.219 kB / 0.5245 GB, free: 14.99 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 (13): * Single equations (assignments): 13 * 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.0001209/0.4527, allocations: 135.7 kB / 0.5246 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.4528, allocations: 16.17 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.181e-05/0.4528, allocations: 26.47 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4529, allocations: 13.03 kB / 0.5246 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4529, allocations: 2 kB / 0.5246 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4529, allocations: 0 / 0.5246 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006312/0.4535, allocations: 455.2 kB / 0.5251 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4535, allocations: 0 / 0.5251 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.289e-05/0.4536, allocations: 17.72 kB / 0.5251 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.4536, allocations: 1.891 kB / 0.5251 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.4536, allocations: 7.328 kB / 0.5251 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.4536, allocations: 5.188 kB / 0.5251 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.4536, allocations: 1.984 kB / 0.5251 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.454, allocations: 232.9 kB / 0.5253 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.454, allocations: 93.42 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.4541, allocations: 6.594 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.4541, allocations: 8.156 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.4542, allocations: 7.531 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.4542, allocations: 14.09 kB / 0.5254 GB, free: 14.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.4544, allocations: 179.5 kB / 0.5256 GB, free: 14.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4544, allocations: 0.9062 kB / 0.5256 GB, free: 14.03 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.4547, allocations: 27.09 kB / 0.5256 GB, free: 14.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001691/0.4564, allocations: 1.175 MB / 0.5268 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.4567, allocations: 81.12 kB / 0.5269 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4567, allocations: 0 / 0.5269 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.837e-05/0.4568, allocations: 42.84 kB / 0.5269 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.4572, allocations: 34.61 kB / 0.5269 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.4595, allocations: 1.866 MB / 0.5288 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.4598, allocations: 0.7246 MB / 0.5295 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.469e-05/0.4599, allocations: 18.95 kB / 0.5295 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.778e-05/0.46, allocations: 46.11 kB / 0.5295 GB, free: 10.91 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.46, allocations: 0 / 0.5295 GB, free: 10.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.4861, allocations: 3.972 MB / 0.5334 GB, free: 9.047 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.639/8.125, allocations: 16.97 kB / 0.5334 GB, free: 9.031 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,d2_t_new.y Variables in the result:d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time