Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 247 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.2331/0.2331, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 79.88 kB / 481 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3415, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003385/0.3449, allocations: 1.833 MB / 0.5325 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.3469, allocations: 1.087 MB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.847e-05/0.347, allocations: 0.9688 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.3475, allocations: 295.3 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000458/0.348, allocations: 256.9 kB / 0.5341 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.3482, allocations: 105.8 kB / 0.5342 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000298/0.3485, allocations: 264.2 kB / 0.5344 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.418e-05/0.3486, allocations: 13.92 kB / 0.5344 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.3487, allocations: 128 kB / 0.5346 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.349, allocations: 192.7 kB / 0.5347 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.349, allocations: 6.875 kB / 0.5347 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.3491, allocations: 50.22 kB / 0.5348 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.3493, allocations: 137.6 kB / 0.5349 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.3494, allocations: 142.5 kB / 0.5351 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005116/0.35, allocations: 369.4 kB / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.35, allocations: 1.188 kB / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.35, allocations: 0 / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.35, allocations: 0 / 0.5354 GB, free: 9.973 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.001049/0.3511, allocations: 0.7594 MB / 0.5362 GB, free: 9.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.3511, allocations: 10.56 kB / 0.5362 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/0.3512, allocations: 35.98 kB / 0.5362 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.244e-05/0.3513, allocations: 50.23 kB / 0.5362 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000671/0.3519, allocations: 454 kB / 0.5367 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.352, allocations: 5.469 kB / 0.5367 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.352, allocations: 6.562 kB / 0.5367 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.3522, allocations: 88.05 kB / 0.5368 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3522, allocations: 1.438 kB / 0.5368 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3522, allocations: 0 / 0.5368 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3523, allocations: 1.344 kB / 0.5368 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.3524, allocations: 32 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/0.3528, allocations: 375.6 kB / 0.5372 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.3531, allocations: 108.9 kB / 0.5373 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.3532, allocations: 49.78 kB / 0.5373 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.3532, allocations: 1.031 kB / 0.5373 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.3535, allocations: 112.5 kB / 0.5374 GB, free: 8.203 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.3535, allocations: 0 / 0.5374 GB, free: 8.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005219/0.354, allocations: 205.1 kB / 0.5376 GB, free: 8.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.3541, allocations: 87.47 kB / 0.5377 GB, free: 7.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.3553, allocations: 1.019 MB / 0.5387 GB, free: 7.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.3554, allocations: 31.45 kB / 0.5387 GB, free: 7.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.3556, allocations: 233.6 kB / 0.539 GB, free: 7.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.685e-05/0.3556, allocations: 32.08 kB / 0.539 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.3557, allocations: 26.34 kB / 0.539 GB, free: 7.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.3559, allocations: 366 kB / 0.5394 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.631e-05/0.356, allocations: 35.03 kB / 0.5394 GB, free: 6.863 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.3561, allocations: 62.2 kB / 0.5395 GB, free: 6.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.3564, allocations: 86.62 kB / 0.5395 GB, free: 6.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3564, 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.0003121/0.3567, allocations: 174.6 kB / 0.5397 GB, free: 6.637 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3567, allocations: 5.562 kB / 0.5397 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.3567, allocations: 1.125 kB / 0.5397 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3567, allocations: 2.25 kB / 0.5397 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3569, allocations: 22.08 kB / 0.5397 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3569, allocations: 1.344 kB / 0.5397 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.357, allocations: 20.25 kB / 0.5398 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.357, allocations: 3.594 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.0002347/0.3573, allocations: 225.2 kB / 0.54 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.026e-05/0.3573, allocations: 50.33 kB / 0.54 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.841e-05/0.3574, allocations: 61.5 kB / 0.5401 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3574, allocations: 2.094 kB / 0.5401 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3575, allocations: 1.406 kB / 0.5401 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.3575, allocations: 3.984 kB / 0.5401 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.3578, allocations: 340.2 kB / 0.5404 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.3579, allocations: 5.078 kB / 0.5404 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.3579, allocations: 6.75 kB / 0.5404 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3579, allocations: 5.219 kB / 0.5404 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3579, allocations: 4.938 kB / 0.5404 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3579, allocations: 1.031 kB / 0.5404 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3579, allocations: 5.031 kB / 0.5404 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.3583, allocations: 212.6 kB / 0.5406 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.3585, allocations: 137.8 kB / 0.5408 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/0.3585, allocations: 6.719 kB / 0.5408 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.3586, allocations: 2.938 kB / 0.5408 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.3587, allocations: 16.33 kB / 0.5408 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3587, allocations: 4.5 kB / 0.5408 GB, free: 5.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009557/0.3597, allocations: 0.7644 MB / 0.5415 GB, free: 5.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3597, allocations: 0 / 0.5415 GB, free: 5.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003296/0.36, allocations: 44.09 kB / 0.5416 GB, free: 5.414 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.002158/0.3622, allocations: 1.047 MB / 0.5426 GB, free: 4.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.3624, allocations: 79.19 kB / 0.5427 GB, free: 4.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3625, allocations: 0 / 0.5427 GB, free: 4.578 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.3626, allocations: 40.33 kB / 0.5427 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.363, allocations: 82.14 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.005601/0.3686, allocations: 4.473 MB / 0.5472 GB, free: 432 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.3692, allocations: 0.8388 MB / 0.548 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.3693, allocations: 63.44 kB / 0.5481 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.3695, allocations: 147.4 kB / 0.5482 GB, free: 15.36 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3695, allocations: 0 / 0.5482 GB, free: 15.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/0.4015, allocations: 8.921 MB / 0.5569 GB, free: 6.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.675/9.077, allocations: 23.12 kB / 0.5569 GB, free: 6.508 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)