Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001586/0.001586, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002018/0.002018, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.251/0.251, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 75.88 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3964, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003921/0.4004, allocations: 1.696 MB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.4022, allocations: 0.999 MB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.554e-05/0.4023, allocations: 3.938 kB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.4027, allocations: 51.06 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.403, allocations: 101.8 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.4032, allocations: 77.55 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.4034, allocations: 99.56 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.518e-05/0.4035, allocations: 8.344 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.4036, allocations: 44.23 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.398e-05/0.4037, allocations: 25.48 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.4037, allocations: 2.75 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.4038, allocations: 33.06 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.578e-05/0.4039, allocations: 27.05 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.247e-05/0.404, allocations: 51.69 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.4043, allocations: 126.7 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4043, allocations: 0 / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.634e-06/0.4043, allocations: 0.9688 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.4043, allocations: 0 / 0.5338 GB, free: 10.88 MB / 398.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.0007317/0.4051, allocations: 429.9 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.4051, allocations: 9.188 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.339e-05/0.4052, allocations: 32.84 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.4052, allocations: 13.88 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003701/0.4056, allocations: 220.7 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.4056, allocations: 5.5 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.4056, allocations: 9.172 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.4058, allocations: 46.81 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4058, allocations: 1.125 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.4058, allocations: 4 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4058, allocations: 5.062 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.594e-05/0.4059, allocations: 11.7 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/0.4062, allocations: 196.7 kB / 0.5348 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.4064, allocations: 58.06 kB / 0.5348 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.4064, allocations: 24.75 kB / 0.5349 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.4065, allocations: 1.281 kB / 0.5349 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.4066, allocations: 60.33 kB / 0.5349 GB, free: 9.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.4067, allocations: 0 / 0.5349 GB, free: 9.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002897/0.407, allocations: 101.6 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.407, allocations: 56.61 kB / 0.5351 GB, free: 9.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.4073, allocations: 274.9 kB / 0.5353 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.4074, allocations: 30.8 kB / 0.5354 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.4074, allocations: 110.4 kB / 0.5355 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.4075, allocations: 15.58 kB / 0.5355 GB, free: 9.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.4075, allocations: 17.94 kB / 0.5355 GB, free: 9.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4077, allocations: 336.1 kB / 0.5358 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.008e-05/0.4077, allocations: 11.75 kB / 0.5358 GB, free: 8.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.826e-05/0.4078, allocations: 27.92 kB / 0.5359 GB, free: 8.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.894e-05/0.4079, allocations: 43.58 kB / 0.5359 GB, free: 8.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.4079, allocations: 3.938 kB / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001566/0.4081, allocations: 85.38 kB / 0.536 GB, free: 8.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.4081, allocations: 9.531 kB / 0.536 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4081, allocations: 7.938 kB / 0.536 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.4081, allocations: 1.375 kB / 0.536 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.4082, allocations: 16.23 kB / 0.536 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4082, allocations: 1.375 kB / 0.536 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.4083, allocations: 6.656 kB / 0.536 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.4083, allocations: 1.375 kB / 0.536 GB, free: 8.789 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 0.0001391/0.4084, allocations: 140.8 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.4085, allocations: 14.69 kB / 0.5362 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/0.4085, allocations: 23.86 kB / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.4085, allocations: 1.375 kB / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4085, allocations: 0 / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4086, allocations: 1.375 kB / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.4087, allocations: 194.2 kB / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.4088, allocations: 1.375 kB / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.4088, allocations: 6.688 kB / 0.5364 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.4088, allocations: 3.984 kB / 0.5364 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.4088, allocations: 5.375 kB / 0.5364 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.4088, allocations: 5.359 kB / 0.5364 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4088, allocations: 4 kB / 0.5364 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.409, allocations: 111.2 kB / 0.5365 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.274e-05/0.4091, allocations: 91.69 kB / 0.5366 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.4091, allocations: 5.375 kB / 0.5366 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.666e-05/0.4092, allocations: 1.375 kB / 0.5366 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.4092, allocations: 2.75 kB / 0.5366 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.4092, allocations: 6.734 kB / 0.5366 GB, free: 8.188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001976/0.4094, allocations: 201.6 kB / 0.5368 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4094, allocations: 1.062 kB / 0.5368 GB, free: 8.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.4097, allocations: 21.22 kB / 0.5368 GB, free: 8.055 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.001372/0.411, allocations: 0.942 MB / 0.5378 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.4112, allocations: 51.91 kB / 0.5378 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4112, allocations: 0 / 0.5378 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.267e-05/0.4113, allocations: 15.59 kB / 0.5378 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.4116, allocations: 39.66 kB / 0.5379 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.4135, allocations: 1.68 MB / 0.5395 GB, free: 5.852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.4138, allocations: 0.7147 MB / 0.5402 GB, free: 5.137 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.504e-05/0.4138, allocations: 17.09 kB / 0.5402 GB, free: 5.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.068e-05/0.4139, allocations: 42.2 kB / 0.5402 GB, free: 5.094 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4139, allocations: 0 / 0.5402 GB, free: 5.094 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.436, allocations: 3.512 MB / 0.5437 GB, free: 3.207 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/8.208, allocations: 9.812 kB / 0.5437 GB, free: 3.199 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.nHeaderLines,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