Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001149/0.001149, allocations: 117.6 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.001286/0.001286, allocations: 200.7 kB / 18.74 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.356/1.356, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 75.88 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3159, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003186/0.3191, allocations: 2.035 MB / 0.5326 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.321, allocations: 1.104 MB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.3211, allocations: 6.688 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.3215, allocations: 49.31 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004033/0.3219, allocations: 109.7 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.3222, allocations: 111.5 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.3226, allocations: 205.7 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.3227, allocations: 35.75 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.3229, allocations: 85.66 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.3231, allocations: 76.7 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.3231, allocations: 12.19 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.3233, allocations: 56.67 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.142e-05/0.3234, allocations: 35.69 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.3235, allocations: 79.67 kB / 0.5345 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.3238, allocations: 199.6 kB / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3238, allocations: 1.219 kB / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3238, allocations: 0 / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.3238, allocations: 0 / 0.5347 GB, free: 10.24 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001008/0.3248, allocations: 0.5758 MB / 0.5352 GB, free: 9.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3249, allocations: 13.12 kB / 0.5352 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.3249, allocations: 42.55 kB / 0.5353 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.523e-05/0.325, allocations: 17.97 kB / 0.5353 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000469/0.3255, allocations: 256.3 kB / 0.5355 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3255, allocations: 4.5 kB / 0.5356 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.3256, allocations: 13.44 kB / 0.5356 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.326, allocations: 149.7 kB / 0.5357 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.326, allocations: 1.375 kB / 0.5357 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.326, allocations: 0 / 0.5357 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.3261, allocations: 2.75 kB / 0.5357 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.3265, allocations: 114.9 kB / 0.5358 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000774/0.3273, allocations: 0.5427 MB / 0.5363 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007047/0.328, allocations: 168.6 kB / 0.5365 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.3283, allocations: 69.39 kB / 0.5366 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.3283, allocations: 1.094 kB / 0.5366 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000463/0.3288, allocations: 137 kB / 0.5367 GB, free: 8.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 2.775e-06/0.3288, allocations: 3.938 kB / 0.5367 GB, free: 8.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009581/0.3298, allocations: 261.5 kB / 0.537 GB, free: 8.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.3299, allocations: 57.72 kB / 0.537 GB, free: 8.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.3302, allocations: 233.9 kB / 0.5372 GB, free: 8.027 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.3302, allocations: 30.89 kB / 0.5373 GB, free: 7.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.3303, allocations: 125.5 kB / 0.5374 GB, free: 7.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.3304, allocations: 45.36 kB / 0.5374 GB, free: 7.832 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.536e-05/0.3305, allocations: 37.14 kB / 0.5375 GB, free: 7.801 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002517/0.3308, allocations: 328 kB / 0.5378 GB, free: 7.477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/0.3311, allocations: 76.23 kB / 0.5379 GB, free: 7.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.3314, allocations: 101.7 kB / 0.538 GB, free: 7.363 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005523/0.3319, allocations: 195.3 kB / 0.5381 GB, free: 7.223 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.332, allocations: 4 kB / 0.5381 GB, free: 7.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007219/0.3327, allocations: 265.5 kB / 0.5384 GB, free: 7.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.349e-05/0.3328, allocations: 32.3 kB / 0.5384 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.453e-06/0.3328, allocations: 1.031 kB / 0.5384 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/0.3328, allocations: 6.375 kB / 0.5384 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.333, allocations: 36.47 kB / 0.5385 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.333, allocations: 10.8 kB / 0.5385 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.3332, allocations: 25.41 kB / 0.5385 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.3333, allocations: 17 kB / 0.5385 GB, free: 6.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 0.0001447/0.3334, allocations: 133.6 kB / 0.5386 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.3335, allocations: 16.94 kB / 0.5387 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.745e-05/0.3335, allocations: 24.08 kB / 0.5387 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.3335, allocations: 5.375 kB / 0.5387 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3336, allocations: 4 kB / 0.5387 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3336, allocations: 0 / 0.5387 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.3338, allocations: 240.8 kB / 0.5389 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3339, allocations: 1.312 kB / 0.5389 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.334, allocations: 23.75 kB / 0.5389 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.334, allocations: 0 / 0.5389 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.3341, allocations: 2.719 kB / 0.5389 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.3341, allocations: 7.875 kB / 0.539 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3341, allocations: 0 / 0.539 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009516/0.335, allocations: 305.5 kB / 0.5392 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.483e-05/0.3351, allocations: 98.58 kB / 0.5393 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.3352, allocations: 1.219 kB / 0.5393 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.3354, allocations: 31.84 kB / 0.5394 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.3355, allocations: 14.64 kB / 0.5394 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.3355, allocations: 3.594 kB / 0.5394 GB, free: 6.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001913/0.3357, allocations: 171.4 kB / 0.5396 GB, free: 6.105 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3357, allocations: 0 / 0.5396 GB, free: 6.105 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.336, allocations: 41.64 kB / 0.5396 GB, free: 6.094 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002258/0.3382, allocations: 1.131 MB / 0.5407 GB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007231/0.339, allocations: 225.9 kB / 0.5409 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.339, allocations: 0 / 0.5409 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.3393, allocations: 75.84 kB / 0.541 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.3397, allocations: 53.92 kB / 0.541 GB, free: 5.062 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.3435, allocations: 2.178 MB / 0.5432 GB, free: 3.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.3439, allocations: 0.7267 MB / 0.5439 GB, free: 2.621 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.344, allocations: 25.98 kB / 0.5439 GB, free: 2.609 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.3441, allocations: 61.81 kB / 0.544 GB, free: 2.559 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3441, allocations: 0 / 0.544 GB, free: 2.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.3684, allocations: 5.003 MB / 0.5488 GB, free: 14.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.448, allocations: 20.89 kB / 0.5489 GB, free: 14.71 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)