Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001824/0.001824, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00199/0.00199, allocations: 199.9 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.13 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 79.88 kB / 481 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3586, allocations: 62.45 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.0033/0.3619, allocations: 1.737 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.3638, allocations: 1.022 MB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.969e-05/0.3639, allocations: 1.375 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003507/0.3643, allocations: 78.08 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.3646, allocations: 119.4 kB / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.3648, allocations: 74.97 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.365, allocations: 125.1 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.813e-05/0.3651, allocations: 9.5 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.067e-05/0.3652, allocations: 49.78 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.3654, allocations: 64.62 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.3654, allocations: 2.75 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.206e-05/0.3655, allocations: 44.67 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.3655, allocations: 25 kB / 0.534 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.769e-05/0.3656, allocations: 36.05 kB / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.3658, allocations: 126.5 kB / 0.5341 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3658, allocations: 1.281 kB / 0.5341 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3658, allocations: 0 / 0.5341 GB, free: 10.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3659, allocations: 4 kB / 0.5341 GB, free: 10.77 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.0006101/0.3665, allocations: 427.5 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3665, allocations: 13 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.3666, allocations: 35.77 kB / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.3666, allocations: 14.31 kB / 0.5346 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.3669, allocations: 221.6 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.3669, allocations: 1.625 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.367, allocations: 6.531 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.3671, allocations: 62.33 kB / 0.5349 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3672, allocations: 0 / 0.5349 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3672, allocations: 1.281 kB / 0.5349 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3672, allocations: 0 / 0.5349 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.636e-05/0.3673, allocations: 19.11 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.3677, allocations: 292.1 kB / 0.5352 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.368, allocations: 65.39 kB / 0.5352 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.193e-05/0.3681, allocations: 25.78 kB / 0.5353 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.3681, allocations: 1.781 kB / 0.5353 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.3683, allocations: 64.86 kB / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.3683, allocations: 0 / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000649/0.3689, allocations: 175.4 kB / 0.5355 GB, free: 9.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.369, allocations: 60.52 kB / 0.5355 GB, free: 9.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.3693, allocations: 225.7 kB / 0.5358 GB, free: 9.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.3694, allocations: 26.95 kB / 0.5358 GB, free: 9.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.3695, allocations: 110.3 kB / 0.5359 GB, free: 9.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.3695, allocations: 23.78 kB / 0.5359 GB, free: 9.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.3696, allocations: 23.5 kB / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.3698, allocations: 323.4 kB / 0.5362 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-05/0.3698, allocations: 31.3 kB / 0.5363 GB, free: 8.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.046e-05/0.3699, allocations: 35.45 kB / 0.5363 GB, free: 8.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.3701, allocations: 59.83 kB / 0.5364 GB, free: 8.609 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3701, allocations: 4 kB / 0.5364 GB, free: 8.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001929/0.3703, allocations: 100.2 kB / 0.5365 GB, free: 8.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3703, allocations: 5.5 kB / 0.5365 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3703, allocations: 32 / 0.5365 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3703, allocations: 5.375 kB / 0.5365 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.3705, allocations: 17.02 kB / 0.5365 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3705, allocations: 5.281 kB / 0.5365 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/0.3705, allocations: 5.406 kB / 0.5365 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.3705, allocations: 6.5 kB / 0.5365 GB, free: 8.523 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.0001323/0.3707, allocations: 129.6 kB / 0.5366 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.3707, allocations: 13.78 kB / 0.5366 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.802e-05/0.3708, allocations: 23.55 kB / 0.5367 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.3708, allocations: 5.219 kB / 0.5367 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3708, allocations: 0 / 0.5367 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3708, allocations: 4.5 kB / 0.5367 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.3714, allocations: 396.6 kB / 0.5371 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3714, allocations: 1.062 kB / 0.5371 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.3714, allocations: 7.594 kB / 0.5371 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3714, allocations: 5 kB / 0.5371 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.3714, allocations: 1 kB / 0.5371 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3714, allocations: 1.5 kB / 0.5371 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3715, allocations: 5.312 kB / 0.5371 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.3717, allocations: 208.9 kB / 0.5373 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.3718, allocations: 92.23 kB / 0.5374 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.3719, allocations: 6.094 kB / 0.5374 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.3719, allocations: 6 kB / 0.5374 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.372, allocations: 15.28 kB / 0.5374 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.372, allocations: 3.219 kB / 0.5374 GB, free: 7.664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.3722, allocations: 165.7 kB / 0.5375 GB, free: 7.555 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3722, allocations: 0 / 0.5375 GB, free: 7.555 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.3724, allocations: 28.3 kB / 0.5376 GB, free: 7.543 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.002249/0.3747, allocations: 1.098 MB / 0.5386 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.3749, allocations: 58.12 kB / 0.5387 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/0.3749, allocations: 5.188 kB / 0.5387 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.426e-05/0.375, allocations: 29.08 kB / 0.5387 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.3754, allocations: 38.81 kB / 0.5388 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.3777, allocations: 1.706 MB / 0.5404 GB, free: 5.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.3781, allocations: 0.7131 MB / 0.5411 GB, free: 4.445 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.833e-05/0.3782, allocations: 17.8 kB / 0.5412 GB, free: 4.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.502e-05/0.3783, allocations: 40.17 kB / 0.5412 GB, free: 4.406 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3783, allocations: 0 / 0.5412 GB, free: 4.406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.4027, allocations: 3.565 MB / 0.5447 GB, free: 2.492 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.161/8.564, allocations: 11.61 kB / 0.5447 GB, free: 2.484 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches