Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",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.001107/0.001107, allocations: 109.5 kB / 17.78 MB, free: 5.312 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.001188/0.001188, allocations: 188 kB / 18.71 MB, free: 4.387 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.407/1.407, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2507/0.2507, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 59.91 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4484, allocations: 60.83 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003176/0.4516, allocations: 1.701 MB / 0.5202 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.4532, allocations: 0.8727 MB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.686e-05/0.4533, allocations: 5 kB / 0.521 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.4537, allocations: 41.3 kB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.454, allocations: 55.34 kB / 0.5211 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.4543, allocations: 104.6 kB / 0.5212 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.4545, allocations: 101.2 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.4546, allocations: 11.22 kB / 0.5213 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.765e-05/0.4547, allocations: 41.38 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.942e-05/0.4548, allocations: 33.78 kB / 0.5214 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.4549, allocations: 4.281 kB / 0.5214 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.455, allocations: 43.36 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.574e-05/0.455, allocations: 16.77 kB / 0.5215 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.4551, allocations: 41.78 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.4553, allocations: 110.9 kB / 0.5216 GB, free: 1.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4554, allocations: 0 / 0.5216 GB, free: 1.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4554, allocations: 0 / 0.5216 GB, free: 1.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.4554, allocations: 0 / 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.0006674/0.456, allocations: 411.8 kB / 0.522 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/0.4561, allocations: 9 kB / 0.522 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.894e-05/0.4562, allocations: 32.89 kB / 0.522 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.4562, allocations: 10.08 kB / 0.522 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.4566, allocations: 213.7 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.4567, allocations: 7.094 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.4567, allocations: 6.031 kB / 0.5223 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.4569, allocations: 62.41 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.4569, allocations: 3.938 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.4569, allocations: 1.219 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.457, allocations: 1.062 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.958e-05/0.457, allocations: 18.34 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.4576, allocations: 282.1 kB / 0.5226 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.4578, allocations: 64.34 kB / 0.5227 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.4579, allocations: 20.61 kB / 0.5227 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.4579, allocations: 0.9375 kB / 0.5227 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.4581, allocations: 65.42 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.4581, allocations: 0 / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007113/0.4589, allocations: 176.6 kB / 0.5229 GB, free: 12 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.459, allocations: 61.19 kB / 0.523 GB, free: 15.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.4593, allocations: 191.1 kB / 0.5232 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.4593, allocations: 30.27 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.4594, allocations: 99.53 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.579e-05/0.4595, allocations: 26.47 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.4596, allocations: 21.77 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.4598, allocations: 326.6 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.4599, allocations: 20.92 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.972e-05/0.46, allocations: 39.19 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.4601, allocations: 62.53 kB / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4601, allocations: 0 / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002446/0.4604, allocations: 105.2 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.4604, allocations: 5.297 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.4605, allocations: 1.375 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/0.4605, allocations: 5.094 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.4606, allocations: 15.48 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.4606, allocations: 1.125 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.07e-05/0.4607, allocations: 14.81 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.4607, allocations: 3.344 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 0.0001581/0.4609, allocations: 125.7 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.4609, allocations: 8.781 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.801e-05/0.461, allocations: 15.25 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.461, allocations: 1.641 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.461, allocations: 9.094 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.4611, allocations: 4.688 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006688/0.4617, allocations: 394.1 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4617, allocations: 5.344 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.4618, allocations: 7.812 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.4618, allocations: 5.438 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.4618, allocations: 2.219 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.4618, allocations: 2.047 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4618, allocations: 4.031 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.4622, allocations: 205 kB / 0.5247 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.781e-05/0.4623, allocations: 85.09 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.4623, allocations: 10.5 kB / 0.5248 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.4624, allocations: 3.125 kB / 0.5248 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.4625, allocations: 5.219 kB / 0.5248 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.4625, allocations: 9.234 kB / 0.5248 GB, free: 14.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001963/0.4627, allocations: 142.6 kB / 0.5249 GB, free: 14.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4627, allocations: 0 / 0.5249 GB, free: 14.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.463, allocations: 26.47 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.001865/0.4649, allocations: 1.091 MB / 0.526 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.4651, allocations: 64.16 kB / 0.5261 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4652, allocations: 0 / 0.5261 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.039e-05/0.4652, allocations: 31.83 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.0003656/0.4656, allocations: 32.3 kB / 0.5261 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.4675, allocations: 1.626 MB / 0.5277 GB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.4679, allocations: 0.7051 MB / 0.5284 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.002e-05/0.4679, allocations: 13.94 kB / 0.5284 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.378e-05/0.468, allocations: 35.48 kB / 0.5284 GB, free: 11.34 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.468, allocations: 0 / 0.5284 GB, free: 11.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.4896, allocations: 3.419 MB / 0.5318 GB, free: 9.875 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/8.047, allocations: 8.859 kB / 0.5318 GB, free: 9.867 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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