Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001113/0.001113, allocations: 114.9 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 205.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.437/1.437, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2517/0.2517, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 79.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4055, allocations: 62.44 MB / 0.5306 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003314/0.4089, allocations: 1.725 MB / 0.5323 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.4106, allocations: 1.02 MB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.913e-05/0.4108, allocations: 1.188 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.4111, allocations: 52.61 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.4115, allocations: 100.6 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.4118, allocations: 78.91 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.412, allocations: 104.9 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.4121, allocations: 10.88 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.4122, allocations: 48.27 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.619e-05/0.4123, allocations: 33.36 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.4123, allocations: 4.125 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.4125, allocations: 43.48 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.4125, allocations: 29.53 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.524e-05/0.4126, allocations: 39.92 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.4129, allocations: 120.7 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4129, allocations: 0 / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4129, allocations: 0 / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.4129, allocations: 9.312 kB / 0.5339 GB, free: 10.86 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005915/0.4135, allocations: 431.7 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.4135, allocations: 9.625 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/0.4136, allocations: 36.11 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.4136, allocations: 10.34 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.4139, allocations: 227.5 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.414, allocations: 1.75 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.414, allocations: 6.688 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.4141, allocations: 58.05 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.4142, allocations: 3.938 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.4142, allocations: 0 / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4142, allocations: 1.375 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.465e-05/0.4143, allocations: 18.98 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.4147, allocations: 292.9 kB / 0.535 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.4148, allocations: 61.45 kB / 0.535 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/0.4149, allocations: 25.34 kB / 0.5351 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.4149, allocations: 5.422 kB / 0.5351 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.4151, allocations: 65.8 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.4151, allocations: 0 / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005566/0.4157, allocations: 183.7 kB / 0.5353 GB, free: 9.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.4157, allocations: 55.41 kB / 0.5354 GB, free: 9.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.416, allocations: 244.5 kB / 0.5356 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.416, allocations: 26.89 kB / 0.5356 GB, free: 9.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.4161, allocations: 110.9 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.4161, allocations: 19.12 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.4162, allocations: 24.48 kB / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4163, allocations: 327.5 kB / 0.5361 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.785e-05/0.4164, allocations: 22.36 kB / 0.5361 GB, free: 8.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.818e-05/0.4164, allocations: 39.83 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.4166, allocations: 58.81 kB / 0.5362 GB, free: 8.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4166, allocations: 1.219 kB / 0.5362 GB, free: 8.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001984/0.4168, allocations: 104.3 kB / 0.5363 GB, free: 8.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4168, allocations: 5.156 kB / 0.5363 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4168, allocations: 0 / 0.5363 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4168, allocations: 5.062 kB / 0.5363 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.023e-05/0.4169, allocations: 21.11 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4169, allocations: 1.25 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.437e-05/0.417, allocations: 10.44 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.417, allocations: 2.719 kB / 0.5363 GB, free: 8.609 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.0001133/0.4171, allocations: 130.8 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.4172, allocations: 10.19 kB / 0.5365 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/0.4172, allocations: 20.22 kB / 0.5365 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4172, allocations: 4 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4172, allocations: 9.609 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.4173, allocations: 3.938 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.4177, allocations: 396.6 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.4177, allocations: 1.375 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.692e-05/0.4178, allocations: 14.86 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4178, allocations: 5.312 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.4178, allocations: 1.375 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4178, allocations: 1.375 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4178, allocations: 5.062 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.4181, allocations: 201.8 kB / 0.5371 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.4181, allocations: 87.52 kB / 0.5372 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.4182, allocations: 13.45 kB / 0.5372 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.4182, allocations: 3.031 kB / 0.5372 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.4183, allocations: 11.03 kB / 0.5372 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.4183, allocations: 11.05 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.4185, allocations: 170.4 kB / 0.5374 GB, free: 7.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4185, allocations: 0 / 0.5374 GB, free: 7.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.4188, allocations: 29.36 kB / 0.5374 GB, free: 7.625 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.001461/0.4202, allocations: 1.085 MB / 0.5385 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.4204, allocations: 58.06 kB / 0.5385 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4204, allocations: 64 / 0.5385 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.436e-05/0.4205, allocations: 37.64 kB / 0.5386 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.4209, allocations: 35.98 kB / 0.5386 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.4229, allocations: 1.745 MB / 0.5403 GB, free: 5.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.4232, allocations: 0.7142 MB / 0.541 GB, free: 4.516 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.542e-05/0.4233, allocations: 17.98 kB / 0.541 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.062e-05/0.4234, allocations: 39.86 kB / 0.5411 GB, free: 4.477 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4234, allocations: 0 / 0.5411 GB, free: 4.477 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.4478, allocations: 3.651 MB / 0.5446 GB, free: 2.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/7.989, allocations: 12.91 kB / 0.5446 GB, free: 2.508 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.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