Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 121.1 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.001396/0.001396, allocations: 204.6 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.472/1.472, allocations: 227.4 MB / 247 MB, free: 10.41 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.2273/0.2273, allocations: 46.13 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.002489/0.002489, allocations: 80.08 kB / 481 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3402, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003619/0.3439, allocations: 1.73 MB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.3465, allocations: 1.628 MB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.302e-05/0.3466, allocations: 1.812 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.3469, allocations: 36.28 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004029/0.3473, allocations: 99.94 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.3476, allocations: 78.44 kB / 0.5342 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.3478, allocations: 102.9 kB / 0.5343 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3479, allocations: 10.53 kB / 0.5343 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.3481, allocations: 48.42 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.3483, allocations: 51.22 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.3483, allocations: 9.078 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002531/0.3486, allocations: 111.2 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.3486, allocations: 19.91 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.392e-05/0.3487, allocations: 28.66 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.349, allocations: 170 kB / 0.5347 GB, free: 10.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.3491, allocations: 4 kB / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3491, allocations: 0 / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3491, allocations: 1.531 kB / 0.5347 GB, free: 10.25 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.0006299/0.3497, allocations: 432.9 kB / 0.5351 GB, free: 9.812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.3498, allocations: 9.625 kB / 0.5351 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.3498, allocations: 32.12 kB / 0.5352 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.3499, allocations: 14.34 kB / 0.5352 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.3502, allocations: 218.6 kB / 0.5354 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.3502, allocations: 5.359 kB / 0.5354 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.3502, allocations: 2.75 kB / 0.5354 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.3504, allocations: 81.06 kB / 0.5355 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3504, allocations: 1.375 kB / 0.5355 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3504, allocations: 0 / 0.5355 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3505, allocations: 1.375 kB / 0.5355 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.33e-05/0.3505, allocations: 17.61 kB / 0.5355 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.3509, allocations: 281.5 kB / 0.5358 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.3511, allocations: 65.86 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.064e-05/0.3512, allocations: 18.48 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.3512, allocations: 3.984 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.3514, allocations: 70.45 kB / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.677e-06/0.3514, allocations: 0 / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000518/0.3519, allocations: 172.9 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.352, allocations: 90.41 kB / 0.5362 GB, free: 8.797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.3521, allocations: 167 kB / 0.5363 GB, free: 8.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.3522, allocations: 26.8 kB / 0.5363 GB, free: 8.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.3523, allocations: 95.48 kB / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.3523, allocations: 36.09 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.3523, allocations: 20.44 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3525, allocations: 322.2 kB / 0.5368 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.293e-05/0.3526, allocations: 26.73 kB / 0.5368 GB, free: 8.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.592e-05/0.3526, allocations: 45.56 kB / 0.5369 GB, free: 8.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.3528, allocations: 54.56 kB / 0.5369 GB, free: 8.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3528, allocations: 1.094 kB / 0.5369 GB, free: 8.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001918/0.353, allocations: 98.81 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.353, allocations: 8.156 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.353, allocations: 384 / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.353, allocations: 5.438 kB / 0.537 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.28e-05/0.3531, allocations: 21.2 kB / 0.537 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3531, allocations: 1.094 kB / 0.537 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.593e-05/0.3532, allocations: 10.56 kB / 0.5371 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.3532, allocations: 2.875 kB / 0.5371 GB, free: 7.992 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.981e-05/0.3533, allocations: 119.2 kB / 0.5372 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.3534, allocations: 13.16 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.3534, allocations: 12.84 kB / 0.5372 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3534, allocations: 5 kB / 0.5372 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3534, allocations: 4.969 kB / 0.5372 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3534, allocations: 0 / 0.5372 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/0.354, allocations: 404.8 kB / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.354, allocations: 3.938 kB / 0.5376 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.545e-05/0.354, allocations: 12.02 kB / 0.5376 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3541, allocations: 1.219 kB / 0.5376 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.3541, allocations: 1 kB / 0.5376 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3541, allocations: 1.062 kB / 0.5376 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3541, allocations: 5.188 kB / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.3544, allocations: 204.3 kB / 0.5378 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/0.3544, allocations: 91.45 kB / 0.5379 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.3545, allocations: 2.406 kB / 0.5379 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.651e-05/0.3545, allocations: 6.25 kB / 0.5379 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.3546, allocations: 11.27 kB / 0.5379 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.3546, allocations: 7.312 kB / 0.5379 GB, free: 7.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.3547, allocations: 127.9 kB / 0.538 GB, free: 7.047 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3547, allocations: 0 / 0.538 GB, free: 7.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003098/0.3551, allocations: 46.11 kB / 0.5381 GB, free: 7.031 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.002438/0.3575, allocations: 1.191 MB / 0.5392 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.3577, allocations: 55.17 kB / 0.5393 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3577, allocations: 0 / 0.5393 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.307e-05/0.3578, allocations: 32.91 kB / 0.5393 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.3582, allocations: 41.39 kB / 0.5394 GB, free: 6.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.3601, allocations: 1.587 MB / 0.5409 GB, free: 4.645 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.3605, allocations: 0.703 MB / 0.5416 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.134e-05/0.3606, allocations: 19.89 kB / 0.5416 GB, free: 3.922 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.945e-05/0.3607, allocations: 33.77 kB / 0.5417 GB, free: 3.898 MB / 398.1 MB Notification: Performance of SimCode: time 3.476e-06/0.3607, allocations: 1.156 kB / 0.5417 GB, free: 3.898 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/0.3918, allocations: 4.028 MB / 0.5456 GB, free: 1.668 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.529, allocations: 17.27 kB / 0.5456 GB, free: 1.656 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60_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_Test60.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1)