Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001669/0.001669, allocations: 122.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.001899/0.001899, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, 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.2247/0.2247, allocations: 46.11 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 83.86 kB / 481 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3102, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.002866/0.3131, allocations: 1.731 MB / 0.5324 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.3154, allocations: 1.627 MB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.3154, allocations: 1.188 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.3157, allocations: 33.86 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.316, allocations: 103.1 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.3162, allocations: 83.94 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.3163, allocations: 97.5 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.479e-05/0.3165, allocations: 22.3 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.318e-05/0.3165, allocations: 45.81 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.3167, allocations: 42.12 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.3167, allocations: 5.031 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.3169, allocations: 111 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.843e-05/0.3169, allocations: 20.05 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.317, allocations: 32.05 kB / 0.5346 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.3173, allocations: 170.3 kB / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3173, allocations: 1.375 kB / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3173, allocations: 0 / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.3173, allocations: 4 kB / 0.5347 GB, free: 10.23 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.0005408/0.3179, allocations: 434.1 kB / 0.5351 GB, free: 9.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.3179, allocations: 9.625 kB / 0.5352 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.3179, allocations: 40.11 kB / 0.5352 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.318, allocations: 12.97 kB / 0.5352 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.3183, allocations: 207.6 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.3183, allocations: 10.69 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.3183, allocations: 1.375 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.3185, allocations: 70.52 kB / 0.5355 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3185, allocations: 0 / 0.5355 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3185, allocations: 1.375 kB / 0.5355 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.3185, allocations: 0 / 0.5355 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.963e-05/0.3186, allocations: 18.98 kB / 0.5355 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.3189, allocations: 289.5 kB / 0.5358 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.3191, allocations: 61.86 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.3192, allocations: 21.09 kB / 0.5359 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.3192, allocations: 1.375 kB / 0.5359 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.3193, allocations: 65.14 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.3194, allocations: 0 / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005173/0.3199, allocations: 185.7 kB / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.32, allocations: 86.08 kB / 0.5362 GB, free: 8.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.3201, allocations: 159.6 kB / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.3202, allocations: 31.3 kB / 0.5364 GB, free: 8.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.3202, allocations: 99.72 kB / 0.5365 GB, free: 8.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.3203, allocations: 28.16 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.3203, allocations: 29.36 kB / 0.5365 GB, free: 8.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3204, allocations: 321.3 kB / 0.5368 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.585e-05/0.3205, allocations: 18.69 kB / 0.5368 GB, free: 8.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-05/0.3206, allocations: 45.12 kB / 0.5369 GB, free: 8.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.3207, allocations: 56.45 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3207, allocations: 0 / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001905/0.3209, allocations: 110.7 kB / 0.537 GB, free: 7.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.3209, allocations: 9.688 kB / 0.537 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3209, allocations: 0 / 0.537 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.321, allocations: 1.156 kB / 0.537 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.724e-05/0.3211, allocations: 21.41 kB / 0.5371 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3211, allocations: 1.094 kB / 0.5371 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.3211, allocations: 6.484 kB / 0.5371 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.3211, allocations: 2.188 kB / 0.5371 GB, free: 7.969 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 9.977e-05/0.3212, allocations: 124.8 kB / 0.5372 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.3213, allocations: 8.547 kB / 0.5372 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.3213, allocations: 21.27 kB / 0.5372 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3213, allocations: 5.094 kB / 0.5372 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3213, allocations: 0 / 0.5372 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3213, allocations: 1.156 kB / 0.5372 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/0.3218, allocations: 395.6 kB / 0.5376 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.3218, allocations: 5.156 kB / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.162e-05/0.3219, allocations: 7.875 kB / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3219, allocations: 0 / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3219, allocations: 10.45 kB / 0.5376 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3219, allocations: 1.188 kB / 0.5376 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3219, allocations: 0 / 0.5376 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.3221, allocations: 204.3 kB / 0.5378 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/0.3222, allocations: 92.16 kB / 0.5379 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.3222, allocations: 5.094 kB / 0.5379 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.682e-05/0.3223, allocations: 7.078 kB / 0.5379 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.3224, allocations: 7.094 kB / 0.5379 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.3224, allocations: 3.156 kB / 0.5379 GB, free: 7.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.3225, allocations: 128 kB / 0.5381 GB, free: 7.031 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3225, allocations: 0 / 0.5381 GB, free: 7.031 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002902/0.3228, allocations: 49.86 kB / 0.5381 GB, free: 7.012 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.002329/0.3251, allocations: 1.181 MB / 0.5393 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.3253, allocations: 66.11 kB / 0.5393 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3253, allocations: 0 / 0.5393 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.313e-05/0.3254, allocations: 29.33 kB / 0.5393 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.3258, allocations: 40.92 kB / 0.5394 GB, free: 6.051 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.3276, allocations: 1.584 MB / 0.5409 GB, free: 4.629 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.328, allocations: 0.6993 MB / 0.5416 GB, free: 3.922 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.662e-05/0.3281, allocations: 20.45 kB / 0.5416 GB, free: 3.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-05/0.3281, allocations: 45.56 kB / 0.5417 GB, free: 3.875 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3282, allocations: 0 / 0.5417 GB, free: 3.875 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.3544, allocations: 4.009 MB / 0.5456 GB, free: 1.656 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.692/8.047, allocations: 20.3 kB / 0.5456 GB, free: 1.641 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1)