Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001424/0.001424, allocations: 118.8 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001534/0.001534, allocations: 202 kB / 18.72 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, 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.221/0.221, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 83.88 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3483, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002893/0.3513, allocations: 1.685 MB / 0.5322 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.3529, allocations: 0.998 MB / 0.5332 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.661e-05/0.353, allocations: 1.375 kB / 0.5332 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003755/0.3534, allocations: 68.47 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.3537, allocations: 100.6 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.3539, allocations: 81.55 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.3541, allocations: 103.7 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.743e-05/0.3542, allocations: 9.719 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.3543, allocations: 46.7 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.3544, allocations: 48.67 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.3544, allocations: 3.25 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.142e-05/0.3545, allocations: 28.59 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.323e-05/0.3546, allocations: 22.52 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.3546, allocations: 35.77 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.3548, allocations: 111 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3548, allocations: 0 / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3548, allocations: 1.312 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.3549, allocations: 0 / 0.5338 GB, free: 10.87 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.0005337/0.3554, allocations: 410.9 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3554, allocations: 9.844 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.3555, allocations: 32.09 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.3555, allocations: 8.938 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.3558, allocations: 220 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3558, allocations: 1.5 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.3558, allocations: 10.12 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.356, allocations: 47.67 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.356, allocations: 3.984 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.356, allocations: 0 / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.356, allocations: 1.062 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.914e-05/0.3561, allocations: 15.73 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.3563, allocations: 183.4 kB / 0.5347 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.3565, allocations: 63.67 kB / 0.5348 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.993e-05/0.3565, allocations: 16.64 kB / 0.5348 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.3566, allocations: 1.438 kB / 0.5348 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.3567, allocations: 63.39 kB / 0.5349 GB, free: 9.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3567, allocations: 0 / 0.5349 GB, free: 9.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002824/0.357, allocations: 103.7 kB / 0.535 GB, free: 9.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.3571, allocations: 52.62 kB / 0.535 GB, free: 9.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.3573, allocations: 195.9 kB / 0.5352 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.3573, allocations: 27.02 kB / 0.5352 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.3574, allocations: 96.23 kB / 0.5353 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.3574, allocations: 26.61 kB / 0.5353 GB, free: 9.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.3575, allocations: 18.66 kB / 0.5354 GB, free: 9.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3576, allocations: 326.5 kB / 0.5357 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.192e-05/0.3577, allocations: 15.86 kB / 0.5357 GB, free: 8.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.301e-05/0.3577, allocations: 24.09 kB / 0.5357 GB, free: 8.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.223e-05/0.3578, allocations: 50.42 kB / 0.5358 GB, free: 8.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3578, allocations: 5.125 kB / 0.5358 GB, free: 8.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001472/0.358, allocations: 75.53 kB / 0.5358 GB, free: 8.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.358, allocations: 9.531 kB / 0.5358 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.358, allocations: 0 / 0.5358 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3581, allocations: 9.297 kB / 0.5359 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.182e-05/0.3581, allocations: 12.19 kB / 0.5359 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3581, allocations: 1.375 kB / 0.5359 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.3582, allocations: 6.75 kB / 0.5359 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.3582, allocations: 1.531 kB / 0.5359 GB, free: 8.855 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 9.265e-05/0.3583, allocations: 131.3 kB / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.3583, allocations: 13.31 kB / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.3584, allocations: 21.11 kB / 0.536 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3584, allocations: 1.375 kB / 0.536 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3584, allocations: 0 / 0.536 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3584, allocations: 0 / 0.536 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.3586, allocations: 190.1 kB / 0.5362 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3586, allocations: 0 / 0.5362 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.3586, allocations: 2.75 kB / 0.5362 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3586, allocations: 1.375 kB / 0.5362 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3586, allocations: 3.984 kB / 0.5362 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3586, allocations: 5.359 kB / 0.5362 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3586, allocations: 4 kB / 0.5362 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.3588, allocations: 113.9 kB / 0.5363 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.3589, allocations: 87.67 kB / 0.5364 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.3589, allocations: 1.375 kB / 0.5364 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.809e-05/0.3589, allocations: 5.5 kB / 0.5364 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.359, allocations: 6.734 kB / 0.5364 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.359, allocations: 5.375 kB / 0.5364 GB, free: 8.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.3591, allocations: 148.1 kB / 0.5366 GB, free: 8.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3591, allocations: 1.375 kB / 0.5366 GB, free: 8.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.3593, allocations: 20.38 kB / 0.5366 GB, free: 8.145 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.001259/0.3606, allocations: 0.941 MB / 0.5375 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.3608, allocations: 47.2 kB / 0.5376 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3608, allocations: 1.094 kB / 0.5376 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.447e-05/0.3609, allocations: 23.8 kB / 0.5376 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.3611, allocations: 26.83 kB / 0.5376 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.3627, allocations: 1.501 MB / 0.5391 GB, free: 6.031 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.363, allocations: 0.7076 MB / 0.5398 GB, free: 5.316 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.109e-05/0.3631, allocations: 8.969 kB / 0.5398 GB, free: 5.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.3631, allocations: 33.67 kB / 0.5398 GB, free: 5.289 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3631, allocations: 0 / 0.5398 GB, free: 5.289 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.3825, allocations: 3.181 MB / 0.5429 GB, free: 3.551 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.584/7.966, allocations: 9.203 kB / 0.5429 GB, free: 3.543 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time