Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001819/0.001819, allocations: 118.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.001814/0.001814, allocations: 197.2 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.458/1.458, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2262/0.2262, allocations: 46.11 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0023/0.0023, allocations: 80.09 kB / 481 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3259, allocations: 62.45 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002959/0.3289, allocations: 1.739 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.3306, allocations: 1.03 MB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.3307, allocations: 1.656 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.3309, allocations: 48.88 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.3312, allocations: 103.2 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.3314, allocations: 74.92 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.3316, allocations: 108.9 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.618e-05/0.3317, allocations: 6.875 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.899e-05/0.3317, allocations: 44.28 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.469e-05/0.3318, allocations: 37.36 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.3319, allocations: 8.109 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.92e-05/0.332, allocations: 43.48 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.332, allocations: 22.92 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.742e-05/0.3321, allocations: 49.23 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.3323, allocations: 136.6 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3323, allocations: 0 / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3323, allocations: 0 / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.3323, allocations: 1.375 kB / 0.534 GB, free: 10.79 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.0005712/0.3329, allocations: 455.4 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.3329, allocations: 9.625 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.333, allocations: 32.12 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.333, allocations: 18.34 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.3333, allocations: 224.3 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.3333, allocations: 1.75 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.3334, allocations: 10.67 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.3335, allocations: 57.77 kB / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3335, allocations: 1.344 kB / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.3336, allocations: 3.938 kB / 0.5348 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3336, allocations: 1.344 kB / 0.5348 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.8e-05/0.3337, allocations: 18.36 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.334, allocations: 307 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.3342, allocations: 54.84 kB / 0.5352 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.666e-05/0.3343, allocations: 24.31 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.3343, allocations: 1.688 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.3345, allocations: 76.8 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3345, allocations: 0 / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005413/0.335, allocations: 181.3 kB / 0.5355 GB, free: 9.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.3351, allocations: 56.56 kB / 0.5355 GB, free: 9.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.3354, allocations: 275.1 kB / 0.5358 GB, free: 9.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.3354, allocations: 26.95 kB / 0.5358 GB, free: 9.133 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.764e-05/0.3355, allocations: 116 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.3355, allocations: 31.2 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.3356, allocations: 20.66 kB / 0.536 GB, free: 8.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3357, allocations: 332.5 kB / 0.5363 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-05/0.3358, allocations: 17.84 kB / 0.5363 GB, free: 8.641 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.866e-05/0.3359, allocations: 35.8 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.336, allocations: 62.86 kB / 0.5364 GB, free: 8.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.336, allocations: 1.375 kB / 0.5364 GB, free: 8.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001929/0.3362, allocations: 109.2 kB / 0.5365 GB, free: 8.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3362, allocations: 4.281 kB / 0.5365 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3362, allocations: 1.031 kB / 0.5365 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3363, allocations: 1.062 kB / 0.5365 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.163e-05/0.3364, allocations: 17.45 kB / 0.5365 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3364, allocations: 1.375 kB / 0.5365 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.3364, allocations: 5.312 kB / 0.5365 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3364, allocations: 6.781 kB / 0.5365 GB, free: 8.488 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 0.0001081/0.3365, allocations: 133 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.3366, allocations: 20.14 kB / 0.5367 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.3366, allocations: 20.28 kB / 0.5367 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3366, allocations: 5.312 kB / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3367, allocations: 0 / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.3367, allocations: 9.25 kB / 0.5367 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.3372, allocations: 404.8 kB / 0.5371 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3372, allocations: 3.938 kB / 0.5371 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.42e-05/0.3372, allocations: 12.58 kB / 0.5371 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3372, allocations: 3.938 kB / 0.5371 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.3372, allocations: 1.5 kB / 0.5371 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3372, allocations: 1.594 kB / 0.5371 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3372, allocations: 464 / 0.5371 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.3375, allocations: 211 kB / 0.5373 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.3376, allocations: 88.48 kB / 0.5374 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.3376, allocations: 10.2 kB / 0.5374 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.3377, allocations: 9.094 kB / 0.5374 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.3377, allocations: 12.19 kB / 0.5374 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.3378, allocations: 7.203 kB / 0.5374 GB, free: 7.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002062/0.338, allocations: 198.3 kB / 0.5376 GB, free: 7.496 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.338, allocations: 1.094 kB / 0.5376 GB, free: 7.496 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.3383, allocations: 29.11 kB / 0.5377 GB, free: 7.484 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.002104/0.3404, allocations: 1.102 MB / 0.5387 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.3406, allocations: 61.03 kB / 0.5388 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3406, allocations: 1.062 kB / 0.5388 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.448e-05/0.3407, allocations: 28.84 kB / 0.5388 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.341, allocations: 29.58 kB / 0.5388 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.3431, allocations: 1.83 MB / 0.5406 GB, free: 5.055 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.3435, allocations: 0.7208 MB / 0.5413 GB, free: 4.336 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.563e-05/0.3436, allocations: 18.14 kB / 0.5414 GB, free: 4.328 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.3436, allocations: 50.75 kB / 0.5414 GB, free: 4.285 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3437, allocations: 1.375 kB / 0.5414 GB, free: 4.285 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.3691, allocations: 3.781 MB / 0.5451 GB, free: 2.285 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.486, allocations: 19.64 kB / 0.5451 GB, free: 2.273 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1)