Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001317/0.001317, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 203.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.209/0.209, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 79.83 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3424, allocations: 62.43 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003/0.3455, allocations: 1.77 MB / 0.5323 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.3472, allocations: 1.032 MB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.021e-05/0.3473, allocations: 1.5 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003652/0.3477, allocations: 106.3 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.348, allocations: 128.7 kB / 0.5336 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.3482, allocations: 80.34 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.3484, allocations: 141.3 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.3486, allocations: 16.41 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.3487, allocations: 69.88 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.3488, allocations: 74.11 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.3489, allocations: 9.438 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.349, allocations: 59.86 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.742e-05/0.349, allocations: 28.28 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.3491, allocations: 54.61 kB / 0.5341 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.3494, allocations: 166.1 kB / 0.5342 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3494, allocations: 1.375 kB / 0.5342 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3494, allocations: 0 / 0.5342 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.82e-06/0.3494, allocations: 0 / 0.5342 GB, free: 10.66 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006408/0.35, allocations: 459.9 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3501, allocations: 9.625 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.3501, allocations: 32.12 kB / 0.5347 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.3502, allocations: 20.94 kB / 0.5347 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.3505, allocations: 229.5 kB / 0.535 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.3505, allocations: 7.125 kB / 0.535 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.3505, allocations: 8.062 kB / 0.535 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.3507, allocations: 69.44 kB / 0.535 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3507, allocations: 4 kB / 0.535 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3507, allocations: 5.281 kB / 0.535 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3507, allocations: 1.625 kB / 0.5351 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.3508, allocations: 39.56 kB / 0.5351 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.3513, allocations: 334.8 kB / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.3516, allocations: 75.09 kB / 0.5355 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.912e-05/0.3517, allocations: 32.28 kB / 0.5355 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.3517, allocations: 2.188 kB / 0.5355 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.3519, allocations: 81.78 kB / 0.5356 GB, free: 9.336 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.3519, allocations: 0 / 0.5356 GB, free: 9.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008806/0.3528, allocations: 306.8 kB / 0.5359 GB, free: 9.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.3528, allocations: 61.41 kB / 0.5359 GB, free: 9.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.3531, allocations: 254.5 kB / 0.5362 GB, free: 8.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.3531, allocations: 32.36 kB / 0.5362 GB, free: 8.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.3532, allocations: 115.4 kB / 0.5363 GB, free: 8.789 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.3533, allocations: 49.88 kB / 0.5364 GB, free: 8.746 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.3533, allocations: 33.08 kB / 0.5364 GB, free: 8.719 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3535, allocations: 332.8 kB / 0.5367 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/0.3536, allocations: 34.3 kB / 0.5368 GB, free: 8.375 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.725e-05/0.3537, allocations: 58.27 kB / 0.5368 GB, free: 8.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.3539, allocations: 102.2 kB / 0.5369 GB, free: 8.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3539, allocations: 5 kB / 0.5369 GB, free: 8.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002636/0.3542, allocations: 157.7 kB / 0.5371 GB, free: 8.188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3542, allocations: 4.531 kB / 0.5371 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3542, allocations: 1.531 kB / 0.5371 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3542, allocations: 5.5 kB / 0.5371 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3543, allocations: 32.58 kB / 0.5371 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3543, allocations: 1.219 kB / 0.5371 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.389e-05/0.3544, allocations: 3.188 kB / 0.5371 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.3544, allocations: 16.23 kB / 0.5371 GB, free: 8.16 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 (16): * Single equations (assignments): 16 * 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.0001217/0.3545, allocations: 134.2 kB / 0.5373 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.3546, allocations: 15.91 kB / 0.5373 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.476e-05/0.3546, allocations: 26.69 kB / 0.5373 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3547, allocations: 6.109 kB / 0.5373 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3547, allocations: 4 kB / 0.5373 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3547, allocations: 1.156 kB / 0.5373 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007113/0.3554, allocations: 0.4966 MB / 0.5378 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3554, allocations: 0 / 0.5378 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.281e-05/0.3555, allocations: 21.23 kB / 0.5378 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3555, allocations: 1.156 kB / 0.5378 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3555, allocations: 2.406 kB / 0.5378 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.3555, allocations: 9.938 kB / 0.5378 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3555, allocations: 0.9375 kB / 0.5378 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.3558, allocations: 255.7 kB / 0.5381 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.3559, allocations: 93.19 kB / 0.5382 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.3559, allocations: 6.25 kB / 0.5382 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.379e-05/0.356, allocations: 6.312 kB / 0.5382 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.3561, allocations: 14.36 kB / 0.5382 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.3561, allocations: 5.312 kB / 0.5382 GB, free: 7.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001998/0.3563, allocations: 192.1 kB / 0.5384 GB, free: 7.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3563, allocations: 288 / 0.5384 GB, free: 7.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.3566, allocations: 40.55 kB / 0.5384 GB, free: 7.078 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 (14): * Single equations (assignments): 12 * 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.001745/0.3584, allocations: 1.205 MB / 0.5396 GB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.3586, allocations: 107.8 kB / 0.5397 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3586, allocations: 0 / 0.5397 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.3587, allocations: 50.92 kB / 0.5397 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.3591, allocations: 43.92 kB / 0.5398 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.3615, allocations: 2.005 MB / 0.5417 GB, free: 4.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.3619, allocations: 0.7262 MB / 0.5424 GB, free: 3.742 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.704e-05/0.362, allocations: 23.84 kB / 0.5425 GB, free: 3.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.3622, allocations: 56.56 kB / 0.5425 GB, free: 3.688 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3622, allocations: 3.938 kB / 0.5425 GB, free: 3.684 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.383, allocations: 4.379 MB / 0.5468 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/8.063, allocations: 4.875 kB / 0.5468 GB, free: 0.9336 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,d_t_new2.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,d_t_new2.u,d_t_new2.y,der(d2_t_new.u),der(d_t_new.u),der(d_t_new2.u),t_new.columns[1],t_new.columns[2],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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time