Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001715/0.001716, allocations: 117.8 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002132/0.002132, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2182/0.2182, allocations: 46.1 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 75.88 kB / 480.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3536, allocations: 62.43 MB / 0.5306 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003333/0.357, allocations: 1.698 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3587, allocations: 1 MB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.071e-05/0.3587, allocations: 0 / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.3591, allocations: 57.78 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.3594, allocations: 99.33 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.3596, allocations: 73.75 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.3598, allocations: 98.14 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.603e-05/0.3598, allocations: 13.72 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.185e-05/0.3599, allocations: 42.91 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.557e-05/0.36, allocations: 25.48 kB / 0.5336 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.36, allocations: 4.125 kB / 0.5336 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.3e-05/0.3601, allocations: 28.61 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/0.3602, allocations: 34.84 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.3603, allocations: 39.92 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.3605, allocations: 125.8 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3605, allocations: 1.375 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3605, allocations: 0 / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3605, allocations: 0 / 0.5338 GB, free: 10.94 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.000548/0.3611, allocations: 434.4 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3611, allocations: 9.625 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.3612, allocations: 38.69 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.3612, allocations: 11.72 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.3615, allocations: 220.1 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.3615, allocations: 4.359 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.3615, allocations: 6.688 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.3617, allocations: 55.25 kB / 0.5346 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3617, allocations: 0 / 0.5346 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.3617, allocations: 7.969 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3617, allocations: 5.312 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.405e-05/0.3618, allocations: 12.09 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.362, allocations: 192.3 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.3621, allocations: 58.95 kB / 0.5348 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.3622, allocations: 21.05 kB / 0.5349 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.3622, allocations: 0 / 0.5349 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.3624, allocations: 64.89 kB / 0.5349 GB, free: 9.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.3624, allocations: 0 / 0.5349 GB, free: 9.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002755/0.3627, allocations: 105 kB / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.3627, allocations: 56.72 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.363, allocations: 270.7 kB / 0.5353 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.363, allocations: 30.77 kB / 0.5354 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.748e-05/0.3631, allocations: 111.7 kB / 0.5355 GB, free: 9.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.3631, allocations: 10.06 kB / 0.5355 GB, free: 9.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.3632, allocations: 22.23 kB / 0.5355 GB, free: 9.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3633, allocations: 332.4 kB / 0.5358 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.666e-05/0.3633, allocations: 10.81 kB / 0.5358 GB, free: 8.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.576e-05/0.3634, allocations: 31.86 kB / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.665e-05/0.3635, allocations: 44.36 kB / 0.5359 GB, free: 8.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3635, allocations: 3.938 kB / 0.5359 GB, free: 8.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001615/0.3637, allocations: 88.56 kB / 0.536 GB, free: 8.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3637, allocations: 8.406 kB / 0.536 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3637, allocations: 0 / 0.536 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3637, allocations: 1.219 kB / 0.536 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.664e-05/0.3638, allocations: 12.61 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3638, allocations: 5 kB / 0.536 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.3639, allocations: 7.031 kB / 0.536 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.3639, allocations: 2.062 kB / 0.536 GB, free: 8.84 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.0001005/0.364, allocations: 140.3 kB / 0.5362 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.364, allocations: 14.59 kB / 0.5362 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.889e-05/0.3641, allocations: 19.73 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3641, allocations: 1.438 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3641, allocations: 0 / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3641, allocations: 1.375 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.3642, allocations: 210.9 kB / 0.5364 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3642, allocations: 0 / 0.5364 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.3643, allocations: 6.656 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3643, allocations: 1.25 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3643, allocations: 5.484 kB / 0.5364 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3643, allocations: 320 / 0.5364 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3643, allocations: 0 / 0.5364 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.3645, allocations: 111.9 kB / 0.5365 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.3645, allocations: 96.09 kB / 0.5366 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.3646, allocations: 5.344 kB / 0.5366 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.707e-05/0.3646, allocations: 1.5 kB / 0.5366 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.3646, allocations: 6.844 kB / 0.5366 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.3647, allocations: 5.359 kB / 0.5366 GB, free: 8.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.3648, allocations: 198.8 kB / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3648, allocations: 0 / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002104/0.3651, allocations: 21.75 kB / 0.5368 GB, free: 8.102 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.001201/0.3663, allocations: 0.9447 MB / 0.5378 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.3664, allocations: 47.88 kB / 0.5378 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3665, allocations: 0 / 0.5378 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.105e-05/0.3665, allocations: 15.53 kB / 0.5378 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.3668, allocations: 43.17 kB / 0.5379 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.3685, allocations: 1.676 MB / 0.5395 GB, free: 5.902 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.3688, allocations: 0.7152 MB / 0.5402 GB, free: 5.188 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.955e-05/0.3688, allocations: 16.34 kB / 0.5402 GB, free: 5.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.3689, allocations: 38.17 kB / 0.5402 GB, free: 5.148 MB / 398.1 MB Notification: Performance of SimCode: time 1.342e-06/0.3689, allocations: 7.938 kB / 0.5402 GB, free: 5.141 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.3885, allocations: 3.515 MB / 0.5437 GB, free: 3.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.64/8.029, allocations: 7.156 kB / 0.5437 GB, free: 3.246 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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