Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 118.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.001313/0.001313, allocations: 201.2 kB / 18.73 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.442/1.442, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.253/0.253, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 83.75 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4301/0.4325, allocations: 62.43 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.004212/0.4367, allocations: 1.752 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.439, allocations: 1.023 MB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.4392, allocations: 1.781 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004284/0.4397, allocations: 96.98 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004744/0.4402, allocations: 112.1 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/0.4406, allocations: 84.2 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000241/0.4408, allocations: 123.9 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.441, allocations: 16.23 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.4412, allocations: 59.14 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.4413, allocations: 63.38 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.4413, allocations: 5.5 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.4415, allocations: 62.47 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.396e-05/0.4416, allocations: 33.47 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.163e-05/0.4417, allocations: 32 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.4421, allocations: 134.1 kB / 0.5341 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.4421, allocations: 7.922 kB / 0.5341 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4421, allocations: 0 / 0.5341 GB, free: 10.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.4421, allocations: 0 / 0.5341 GB, free: 10.76 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008013/0.4429, allocations: 450.4 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.42e-05/0.443, allocations: 9.625 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.83e-05/0.443, allocations: 32.12 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.868e-05/0.4431, allocations: 15.62 kB / 0.5346 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.4436, allocations: 223.6 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.4436, allocations: 5.75 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.4437, allocations: 10.69 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.4439, allocations: 60.8 kB / 0.5349 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.4439, allocations: 3.906 kB / 0.5349 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.4439, allocations: 5.312 kB / 0.5349 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.4439, allocations: 5.312 kB / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.729e-05/0.444, allocations: 20.36 kB / 0.5349 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006207/0.4447, allocations: 301.8 kB / 0.5352 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.445, allocations: 60.05 kB / 0.5353 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.859e-05/0.4451, allocations: 31.88 kB / 0.5353 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.4452, allocations: 0 / 0.5353 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.4454, allocations: 66.55 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.4454, allocations: 4.781 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001105/0.4465, allocations: 250.6 kB / 0.5356 GB, free: 9.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.4466, allocations: 61.62 kB / 0.5357 GB, free: 9.273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.4469, allocations: 235.8 kB / 0.5359 GB, free: 9.113 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.447, allocations: 26.86 kB / 0.5359 GB, free: 9.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.4471, allocations: 110.1 kB / 0.536 GB, free: 8.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.4471, allocations: 33.67 kB / 0.536 GB, free: 8.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/0.4472, allocations: 29.81 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4473, allocations: 327.4 kB / 0.5364 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.869e-05/0.4474, allocations: 30.86 kB / 0.5364 GB, free: 8.582 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.145e-05/0.4475, allocations: 52.17 kB / 0.5365 GB, free: 8.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.4477, allocations: 80.97 kB / 0.5365 GB, free: 8.492 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4477, allocations: 0 / 0.5365 GB, free: 8.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002645/0.448, allocations: 126 kB / 0.5367 GB, free: 8.418 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.448, allocations: 5.938 kB / 0.5367 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.448, allocations: 0 / 0.5367 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.4481, allocations: 9.547 kB / 0.5367 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.468e-05/0.4482, allocations: 24.75 kB / 0.5367 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4482, allocations: 1.062 kB / 0.5367 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.292e-05/0.4482, allocations: 7.547 kB / 0.5367 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.4483, allocations: 2.594 kB / 0.5367 GB, free: 8.398 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.0001623/0.4484, allocations: 131 kB / 0.5368 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.4485, allocations: 17.89 kB / 0.5369 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.454e-05/0.4485, allocations: 20.84 kB / 0.5369 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4485, allocations: 5.156 kB / 0.5369 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.4486, allocations: 5.188 kB / 0.5369 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4486, allocations: 0 / 0.5369 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006602/0.4492, allocations: 463.2 kB / 0.5373 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4493, allocations: 4.094 kB / 0.5373 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-05/0.4493, allocations: 19.89 kB / 0.5374 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.4493, allocations: 2 kB / 0.5374 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.4493, allocations: 2.344 kB / 0.5374 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.4494, allocations: 5 kB / 0.5374 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4494, allocations: 5 kB / 0.5374 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.4497, allocations: 234.8 kB / 0.5376 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/0.4497, allocations: 85.33 kB / 0.5377 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.4498, allocations: 6.094 kB / 0.5377 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.4499, allocations: 6.219 kB / 0.5377 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.4499, allocations: 12.33 kB / 0.5377 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.45, allocations: 4.156 kB / 0.5377 GB, free: 7.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.4501, allocations: 174.4 kB / 0.5379 GB, free: 7.363 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4501, allocations: 0 / 0.5379 GB, free: 7.363 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003087/0.4505, allocations: 28.41 kB / 0.5379 GB, free: 7.355 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.002119/0.4526, allocations: 1.18 MB / 0.539 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002849/0.4529, allocations: 77.14 kB / 0.5391 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4529, allocations: 0.9688 kB / 0.5391 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.453, allocations: 39.73 kB / 0.5392 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.4535, allocations: 45.83 kB / 0.5392 GB, free: 6.379 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.456, allocations: 1.837 MB / 0.541 GB, free: 4.844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.4564, allocations: 0.72 MB / 0.5417 GB, free: 4.125 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.619e-05/0.4565, allocations: 16.89 kB / 0.5417 GB, free: 4.117 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-05/0.4566, allocations: 44.73 kB / 0.5418 GB, free: 4.082 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4566, allocations: 0 / 0.5418 GB, free: 4.082 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.4819, allocations: 3.985 MB / 0.5456 GB, free: 1.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.573/8.055, allocations: 8.672 kB / 0.5457 GB, free: 1.953 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time