Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001256, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 204.6 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 83.86 kB / 481 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.356, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003268/0.3593, allocations: 1.831 MB / 0.5325 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.3613, allocations: 1.088 MB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.718e-05/0.3614, allocations: 5.188 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005477/0.3619, allocations: 295.5 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004612/0.3624, allocations: 252.9 kB / 0.5341 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.3627, allocations: 112.4 kB / 0.5342 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.3631, allocations: 261.5 kB / 0.5344 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.645e-05/0.3632, allocations: 13.92 kB / 0.5344 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.3634, allocations: 128 kB / 0.5346 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.3637, allocations: 192.2 kB / 0.5347 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.3638, allocations: 7.25 kB / 0.5347 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.3639, allocations: 51 kB / 0.5348 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.3641, allocations: 132.7 kB / 0.5349 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.3643, allocations: 146.9 kB / 0.5351 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005411/0.3648, allocations: 369.5 kB / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3649, allocations: 4 kB / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3649, allocations: 1 kB / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.3649, allocations: 0 / 0.5354 GB, free: 9.969 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001255/0.3661, allocations: 0.7559 MB / 0.5362 GB, free: 9.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.3662, allocations: 9.625 kB / 0.5362 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.611e-05/0.3663, allocations: 43.86 kB / 0.5362 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.3664, allocations: 50.95 kB / 0.5363 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008109/0.3672, allocations: 449.3 kB / 0.5367 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.3672, allocations: 6.375 kB / 0.5367 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.3673, allocations: 6.125 kB / 0.5367 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.3675, allocations: 84.33 kB / 0.5368 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3675, allocations: 3.938 kB / 0.5368 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3676, allocations: 1.125 kB / 0.5368 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3676, allocations: 1.406 kB / 0.5368 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.3677, allocations: 27.64 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.3683, allocations: 375.4 kB / 0.5372 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.3685, allocations: 117.3 kB / 0.5373 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.608e-05/0.3687, allocations: 41.81 kB / 0.5373 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.3687, allocations: 5.25 kB / 0.5373 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/0.3689, allocations: 108.1 kB / 0.5374 GB, free: 8.203 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.3689, allocations: 0 / 0.5374 GB, free: 8.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000479/0.3694, allocations: 201.6 kB / 0.5376 GB, free: 8.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.3695, allocations: 86.25 kB / 0.5377 GB, free: 7.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.3708, allocations: 1.02 MB / 0.5387 GB, free: 7.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.3708, allocations: 30.86 kB / 0.5387 GB, free: 7.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.3711, allocations: 233.9 kB / 0.539 GB, free: 7.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.3711, allocations: 32.33 kB / 0.539 GB, free: 7.258 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.3712, allocations: 26.28 kB / 0.539 GB, free: 7.234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002436/0.3715, allocations: 365.8 kB / 0.5394 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.3716, allocations: 31.72 kB / 0.5394 GB, free: 6.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.3717, allocations: 64.86 kB / 0.5394 GB, free: 6.816 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.3719, allocations: 95.88 kB / 0.5395 GB, free: 6.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.3719, allocations: 3.938 kB / 0.5395 GB, free: 6.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003425/0.3723, allocations: 170.8 kB / 0.5397 GB, free: 6.641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3723, allocations: 9.312 kB / 0.5397 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.3723, allocations: 0.9688 kB / 0.5397 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3723, allocations: 2.25 kB / 0.5397 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.3725, allocations: 25.11 kB / 0.5397 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3725, allocations: 2.25 kB / 0.5397 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.3726, allocations: 16.31 kB / 0.5398 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.3726, allocations: 3.125 kB / 0.5398 GB, free: 6.617 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002368/0.3729, allocations: 232.4 kB / 0.54 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/0.3729, allocations: 50.45 kB / 0.54 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.307e-05/0.373, allocations: 58.28 kB / 0.5401 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.373, allocations: 2.25 kB / 0.5401 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.373, allocations: 0 / 0.5401 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.3731, allocations: 5.078 kB / 0.5401 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.3735, allocations: 336.7 kB / 0.5404 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3735, allocations: 3.984 kB / 0.5404 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.3735, allocations: 6.969 kB / 0.5404 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3735, allocations: 1.312 kB / 0.5404 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.3735, allocations: 10.41 kB / 0.5404 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3736, allocations: 4.062 kB / 0.5404 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3736, allocations: 5.156 kB / 0.5404 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.3739, allocations: 208.9 kB / 0.5406 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.3741, allocations: 137.5 kB / 0.5408 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.3741, allocations: 2.938 kB / 0.5408 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.3742, allocations: 10.88 kB / 0.5408 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.3743, allocations: 8.328 kB / 0.5408 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.3743, allocations: 4.438 kB / 0.5408 GB, free: 5.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009844/0.3753, allocations: 0.7637 MB / 0.5415 GB, free: 5.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3753, allocations: 0 / 0.5415 GB, free: 5.426 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.3756, allocations: 44.84 kB / 0.5416 GB, free: 5.418 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002141/0.3778, allocations: 1.055 MB / 0.5426 GB, free: 4.605 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002968/0.3781, allocations: 79 kB / 0.5427 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3781, allocations: 0 / 0.5427 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.3782, allocations: 43.39 kB / 0.5427 GB, free: 4.555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.3787, allocations: 73.27 kB / 0.5428 GB, free: 4.516 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005807/0.3845, allocations: 4.472 MB / 0.5472 GB, free: 440 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/0.3851, allocations: 0.8349 MB / 0.548 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001468/0.3853, allocations: 58.95 kB / 0.548 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.3855, allocations: 151.4 kB / 0.5482 GB, free: 15.37 MB / 414.1 MB Notification: Performance of SimCode: time 2.344e-06/0.3855, allocations: 0 / 0.5482 GB, free: 15.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.4185, allocations: 8.932 MB / 0.5569 GB, free: 6.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.823/9.241, allocations: 18.8 kB / 0.5569 GB, free: 6.512 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)