Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 107.4 kB / 16.62 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 193.9 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7645/0.7645, allocations: 119.3 MB / 410.7 MB, free: 9.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001237, allocations: 59.91 kB / 0.4905 GB, free: 13.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4166, allocations: 80.69 MB / 0.5693 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002163/0.4188, allocations: 1.449 MB / 0.5708 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007168/0.4196, allocations: 0.5674 MB / 0.5713 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.571e-05/0.4196, allocations: 1.594 kB / 0.5713 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.4198, allocations: 18.42 kB / 0.5713 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.42, allocations: 52.81 kB / 0.5714 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.4202, allocations: 77.64 kB / 0.5714 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.4204, allocations: 82.34 kB / 0.5715 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.4204, allocations: 6.75 kB / 0.5715 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.319e-05/0.4205, allocations: 45.83 kB / 0.5716 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.4206, allocations: 55.14 kB / 0.5716 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.4206, allocations: 5.5 kB / 0.5716 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.692e-05/0.4207, allocations: 73.06 kB / 0.5717 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.206e-05/0.4208, allocations: 60.55 kB / 0.5718 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.537e-05/0.4209, allocations: 45.97 kB / 0.5718 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.421, allocations: 152.2 kB / 0.572 GB, free: 41.5 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4211, allocations: 0 / 0.572 GB, free: 41.5 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4211, allocations: 0 / 0.572 GB, free: 41.5 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.4211, allocations: 0 / 0.572 GB, free: 41.5 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003761/0.4214, allocations: 482.7 kB / 0.5724 GB, free: 41.02 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4215, allocations: 13.39 kB / 0.5724 GB, free: 41.01 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.816e-05/0.4215, allocations: 48.14 kB / 0.5725 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.4216, allocations: 16.72 kB / 0.5725 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.4219, allocations: 307.2 kB / 0.5728 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.4219, allocations: 1.719 kB / 0.5728 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.4219, allocations: 1.812 kB / 0.5728 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.422, allocations: 56.31 kB / 0.5728 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.422, allocations: 4 kB / 0.5728 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.422, allocations: 1.5 kB / 0.5728 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.422, allocations: 0 / 0.5728 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.215e-05/0.4221, allocations: 25.67 kB / 0.5729 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.4222, allocations: 207.2 kB / 0.5731 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 5.31e-05/0.4223, allocations: 39.59 kB / 0.5731 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.422e-05/0.4223, allocations: 29.55 kB / 0.5731 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-06/0.4224, allocations: 0 / 0.5731 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.4225, allocations: 110.4 kB / 0.5732 GB, free: 40.21 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.4225, allocations: 0 / 0.5732 GB, free: 40.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002419/0.4228, allocations: 166.8 kB / 0.5734 GB, free: 40.11 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.4228, allocations: 87.28 kB / 0.5735 GB, free: 40 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.423, allocations: 228.3 kB / 0.5737 GB, free: 39.85 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.423, allocations: 27.11 kB / 0.5737 GB, free: 39.82 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.423, allocations: 121.2 kB / 0.5738 GB, free: 39.71 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.423, allocations: 22.58 kB / 0.5739 GB, free: 39.69 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.4231, allocations: 27.66 kB / 0.5739 GB, free: 39.66 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.4231, allocations: 328.4 kB / 0.5742 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.217e-05/0.4232, allocations: 17.33 kB / 0.5742 GB, free: 39.33 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.719e-05/0.4232, allocations: 17.47 kB / 0.5742 GB, free: 39.32 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.868e-05/0.4233, allocations: 111.2 kB / 0.5743 GB, free: 39.23 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4233, allocations: 0 / 0.5743 GB, free: 39.23 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001463/0.4234, allocations: 149.7 kB / 0.5745 GB, free: 39.12 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.4235, allocations: 31.58 kB / 0.5745 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.4235, allocations: 5.5 kB / 0.5745 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.4235, allocations: 0 / 0.5745 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.903e-05/0.4236, allocations: 8.469 kB / 0.5745 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.4236, allocations: 0 / 0.5745 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.513e-05/0.4236, allocations: 11.02 kB / 0.5745 GB, free: 39.08 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.4236, allocations: 10.66 kB / 0.5745 GB, free: 39.07 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 8.885e-05/0.4237, allocations: 168.4 kB / 0.5747 GB, free: 38.92 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.4238, allocations: 21.34 kB / 0.5747 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.4238, allocations: 26.8 kB / 0.5748 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4238, allocations: 3.938 kB / 0.5748 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4238, allocations: 3.938 kB / 0.5748 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4238, allocations: 1.469 kB / 0.5748 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.558e-05/0.4239, allocations: 209.8 kB / 0.575 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4239, allocations: 3.938 kB / 0.575 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-05/0.424, allocations: 3.812 kB / 0.575 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.424, allocations: 0 / 0.575 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.424, allocations: 3.75 kB / 0.575 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.424, allocations: 4 kB / 0.575 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.424, allocations: 1.344 kB / 0.575 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.4242, allocations: 208.9 kB / 0.5752 GB, free: 38.48 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.4243, allocations: 96.64 kB / 0.5753 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.4243, allocations: 7.672 kB / 0.5753 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.986e-05/0.4243, allocations: 6.516 kB / 0.5753 GB, free: 38.37 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.4244, allocations: 6.5 kB / 0.5753 GB, free: 38.37 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.4244, allocations: 6.281 kB / 0.5753 GB, free: 38.37 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001046/0.4245, allocations: 175.5 kB / 0.5755 GB, free: 38.25 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4245, allocations: 5.5 kB / 0.5755 GB, free: 38.25 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002182/0.4247, allocations: 33.22 kB / 0.5755 GB, free: 38.24 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0003884/0.4251, allocations: 0.7552 MB / 0.5762 GB, free: 37.55 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.4253, allocations: 147.2 kB / 0.5764 GB, free: 37.44 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4253, allocations: 0 / 0.5764 GB, free: 37.44 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.608e-05/0.4254, allocations: 115.3 kB / 0.5765 GB, free: 37.34 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.4256, allocations: 13.72 kB / 0.5765 GB, free: 37.34 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.427, allocations: 1.953 MB / 0.5784 GB, free: 35.81 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.4271, allocations: 0.7323 MB / 0.5791 GB, free: 35.09 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.909e-05/0.4272, allocations: 22.39 kB / 0.5791 GB, free: 35.08 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.4272, allocations: 46.08 kB / 0.5792 GB, free: 35.04 MB / 462.3 MB Notification: Performance of SimCode: time 2e-07/0.4272, allocations: 5.188 kB / 0.5792 GB, free: 35.04 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01223/0.4395, allocations: 3.33 MB / 0.5824 GB, free: 33.44 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/0.4397, allocations: 215 kB / 0.5826 GB, free: 33.18 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.143, allocations: 0 / 0.5826 GB, free: 33.18 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1)