Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001869/0.001869, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002305/0.002305, allocations: 203.9 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.414/1.414, 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 4.1.0-beta.om/package.mo): time 0.2244/0.2244, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.002234/0.002234, allocations: 79.88 kB / 481 MB, free: 4.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3211, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002951/0.324, allocations: 1.731 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.3257, allocations: 1.021 MB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.309e-05/0.3257, allocations: 1.812 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.3261, allocations: 82.45 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.3264, allocations: 113.5 kB / 0.5336 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.3266, allocations: 80.28 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.3267, allocations: 123.7 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.225e-05/0.3268, allocations: 14.86 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.964e-05/0.3269, allocations: 49.78 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.722e-05/0.327, allocations: 59.25 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.3271, allocations: 4.125 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.6e-05/0.3272, allocations: 48.86 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.24e-05/0.3272, allocations: 24.16 kB / 0.534 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/0.3273, allocations: 35.98 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.3275, allocations: 127.1 kB / 0.5341 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.3275, allocations: 1.375 kB / 0.5341 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3275, allocations: 4 kB / 0.5341 GB, free: 10.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3275, allocations: 3.938 kB / 0.5341 GB, free: 10.75 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.0005681/0.3281, allocations: 427.6 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.3281, allocations: 13.56 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.233e-05/0.3282, allocations: 32.12 kB / 0.5346 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.3282, allocations: 14.34 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.3285, allocations: 216.6 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.3286, allocations: 5.734 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.3286, allocations: 10.69 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.3287, allocations: 57.98 kB / 0.5349 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3287, allocations: 0 / 0.5349 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.3288, allocations: 1.375 kB / 0.5349 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.3288, allocations: 0 / 0.5349 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.009e-05/0.3288, allocations: 18.98 kB / 0.5349 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.3292, allocations: 293 kB / 0.5352 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.3294, allocations: 64.61 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.618e-05/0.3295, allocations: 18.67 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.3295, allocations: 0 / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.3297, allocations: 69.19 kB / 0.5353 GB, free: 9.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.3297, allocations: 1.094 kB / 0.5353 GB, free: 9.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005395/0.3302, allocations: 182.8 kB / 0.5355 GB, free: 9.414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.3303, allocations: 52.75 kB / 0.5355 GB, free: 9.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.3305, allocations: 229.6 kB / 0.5357 GB, free: 9.184 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3305, allocations: 26.77 kB / 0.5358 GB, free: 9.152 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/0.3306, allocations: 106.5 kB / 0.5359 GB, free: 9.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.3306, allocations: 27.06 kB / 0.5359 GB, free: 9.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.3307, allocations: 24.47 kB / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3308, allocations: 323.5 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.913e-05/0.3309, allocations: 26.05 kB / 0.5363 GB, free: 8.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-05/0.331, allocations: 40.48 kB / 0.5363 GB, free: 8.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.3311, allocations: 50.47 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3311, allocations: 3.984 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001893/0.3313, allocations: 104.9 kB / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3313, allocations: 4.594 kB / 0.5365 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3313, allocations: 5.031 kB / 0.5365 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3314, allocations: 1.062 kB / 0.5365 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.111e-05/0.3315, allocations: 17.39 kB / 0.5365 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3315, allocations: 5.375 kB / 0.5365 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.3315, allocations: 5.344 kB / 0.5365 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3315, allocations: 11.47 kB / 0.5365 GB, free: 8.512 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.0001112/0.3317, allocations: 128.1 kB / 0.5366 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.3317, allocations: 14.47 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.269e-05/0.3318, allocations: 27.7 kB / 0.5367 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3318, allocations: 1.469 kB / 0.5367 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3318, allocations: 0 / 0.5367 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3318, allocations: 3.938 kB / 0.5367 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.3323, allocations: 393.3 kB / 0.537 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3323, allocations: 0 / 0.537 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.3323, allocations: 11.98 kB / 0.5371 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.3323, allocations: 9.234 kB / 0.5371 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3323, allocations: 1.281 kB / 0.5371 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3323, allocations: 5.312 kB / 0.5371 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3323, allocations: 0 / 0.5371 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.3326, allocations: 209 kB / 0.5373 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.3327, allocations: 85 kB / 0.5373 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.3327, allocations: 9.266 kB / 0.5374 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.07e-05/0.3328, allocations: 6.719 kB / 0.5374 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.3328, allocations: 6.969 kB / 0.5374 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.3328, allocations: 8.172 kB / 0.5374 GB, free: 7.656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.333, allocations: 164.2 kB / 0.5375 GB, free: 7.547 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.333, allocations: 0 / 0.5375 GB, free: 7.547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.3333, allocations: 25.31 kB / 0.5376 GB, free: 7.539 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.002083/0.3354, allocations: 1.105 MB / 0.5386 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.3355, allocations: 54.08 kB / 0.5387 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3356, allocations: 4.062 kB / 0.5387 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.462e-05/0.3356, allocations: 33.56 kB / 0.5387 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.336, allocations: 36.53 kB / 0.5388 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.3379, allocations: 1.704 MB / 0.5404 GB, free: 5.152 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.3382, allocations: 0.7123 MB / 0.5411 GB, free: 4.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.59e-05/0.3383, allocations: 18.2 kB / 0.5411 GB, free: 4.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.094e-05/0.3384, allocations: 38.95 kB / 0.5412 GB, free: 4.398 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3384, allocations: 1.375 kB / 0.5412 GB, free: 4.398 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.3628, allocations: 3.568 MB / 0.5447 GB, free: 2.492 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/8.37, allocations: 15.03 kB / 0.5447 GB, free: 2.484 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)