Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001294, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, 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.221/0.221, allocations: 46.12 MB / 344.4 MB, free: 11.46 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.00237/0.00237, allocations: 84.08 kB / 481 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3157, allocations: 62.44 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003288/0.3191, allocations: 1.734 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.3209, allocations: 1.015 MB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.793e-05/0.321, allocations: 9.25 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.3214, allocations: 37.45 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003611/0.3217, allocations: 96.41 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.322, allocations: 78.92 kB / 0.5336 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.3222, allocations: 104.9 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3223, allocations: 10.88 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.995e-05/0.3224, allocations: 44.28 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.898e-05/0.3225, allocations: 37.41 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.3226, allocations: 4.125 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.3227, allocations: 39.48 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.3228, allocations: 22.73 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.821e-05/0.3228, allocations: 35.98 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.3231, allocations: 121.8 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3231, allocations: 0 / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3231, allocations: 0 / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3231, allocations: 1.375 kB / 0.534 GB, free: 10.83 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.0006494/0.3238, allocations: 427.5 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3238, allocations: 9.625 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.3239, allocations: 36.11 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.3239, allocations: 10.17 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.3243, allocations: 220.6 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3243, allocations: 5.828 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.3243, allocations: 6.906 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3245, allocations: 54.08 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3245, allocations: 4 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3245, allocations: 1.281 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.3245, allocations: 0 / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.559e-05/0.3246, allocations: 19.05 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.325, allocations: 295.1 kB / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.3252, allocations: 56.77 kB / 0.5351 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.3253, allocations: 22.33 kB / 0.5351 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.3253, allocations: 1.531 kB / 0.5351 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.3255, allocations: 72.94 kB / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.3255, allocations: 0 / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005438/0.326, allocations: 166 kB / 0.5353 GB, free: 9.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.3261, allocations: 60.56 kB / 0.5354 GB, free: 9.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.3263, allocations: 200.6 kB / 0.5356 GB, free: 9.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.3263, allocations: 30.86 kB / 0.5356 GB, free: 9.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.3264, allocations: 101.8 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.3264, allocations: 27.38 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.3265, allocations: 19.91 kB / 0.5358 GB, free: 9.105 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3266, allocations: 323.3 kB / 0.5361 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.078e-05/0.3267, allocations: 30.33 kB / 0.5361 GB, free: 8.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.871e-05/0.3268, allocations: 39.48 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.3269, allocations: 71.09 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3269, allocations: 0 / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001824/0.3271, allocations: 96.19 kB / 0.5363 GB, free: 8.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3271, allocations: 8.781 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.3272, allocations: 1.312 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3272, allocations: 1.469 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.448e-05/0.3273, allocations: 24.67 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.3273, allocations: 1.406 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.3273, allocations: 9.156 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.3273, allocations: 3.594 kB / 0.5363 GB, free: 8.602 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.0001061/0.3275, allocations: 125 kB / 0.5365 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.3275, allocations: 13.44 kB / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.829e-05/0.3275, allocations: 19.22 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3275, allocations: 1.375 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3276, allocations: 0 / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.3276, allocations: 11.92 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/0.328, allocations: 390.6 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.328, allocations: 1.375 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.3281, allocations: 6.875 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.3281, allocations: 5.312 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3281, allocations: 5.359 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3281, allocations: 1.375 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3281, allocations: 3.938 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.3284, allocations: 202 kB / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.3284, allocations: 87.52 kB / 0.5372 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.3285, allocations: 5.375 kB / 0.5372 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.768e-05/0.3285, allocations: 3 kB / 0.5372 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.3286, allocations: 11.08 kB / 0.5372 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.3286, allocations: 3.094 kB / 0.5372 GB, free: 7.766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.3287, allocations: 152.1 kB / 0.5373 GB, free: 7.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3287, allocations: 1.094 kB / 0.5373 GB, free: 7.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.329, allocations: 24.22 kB / 0.5374 GB, free: 7.648 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.002439/0.3314, allocations: 1.108 MB / 0.5384 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.3317, allocations: 54.33 kB / 0.5385 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3317, allocations: 0 / 0.5385 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.127e-05/0.3318, allocations: 29.02 kB / 0.5385 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.3322, allocations: 40.3 kB / 0.5386 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.3344, allocations: 1.648 MB / 0.5402 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.3348, allocations: 0.7055 MB / 0.5409 GB, free: 4.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.962e-05/0.3349, allocations: 15.38 kB / 0.5409 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.897e-05/0.335, allocations: 38.73 kB / 0.5409 GB, free: 4.535 MB / 398.1 MB Notification: Performance of SimCode: time 3.427e-06/0.335, allocations: 0 / 0.5409 GB, free: 4.535 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.3603, allocations: 3.464 MB / 0.5443 GB, free: 2.672 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.415, allocations: 2.156 kB / 0.5443 GB, free: 2.672 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32_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_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1)