Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.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.Test89,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001706/0.001706, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001929/0.001929, allocations: 206 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.514/1.514, allocations: 227.4 MB / 247 MB, free: 10.43 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.2297/0.2297, allocations: 46.13 MB / 344.4 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.002265/0.002265, allocations: 79.88 kB / 481 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.346, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.002978/0.349, allocations: 1.726 MB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.3515, allocations: 1.636 MB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.971e-05/0.3516, allocations: 1.562 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.3519, allocations: 36.77 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003881/0.3523, allocations: 99.47 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.3525, allocations: 76.66 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.3527, allocations: 105.4 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3528, allocations: 14.86 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.398e-05/0.3529, allocations: 40.3 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.3531, allocations: 54.83 kB / 0.5344 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.3531, allocations: 5.5 kB / 0.5344 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.3533, allocations: 107 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.3534, allocations: 20.05 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.659e-05/0.3534, allocations: 39.97 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.3537, allocations: 166.3 kB / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3537, allocations: 5.312 kB / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3537, allocations: 0 / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3538, 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006024/0.3544, allocations: 430.2 kB / 0.5351 GB, free: 9.805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.3544, allocations: 9.625 kB / 0.5351 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/0.3545, allocations: 36.12 kB / 0.5352 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.3545, allocations: 12.97 kB / 0.5352 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.3548, allocations: 219.5 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3548, allocations: 1.375 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.3549, allocations: 2.75 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.355, allocations: 66.52 kB / 0.5355 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3551, allocations: 4 kB / 0.5355 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.3551, allocations: 0 / 0.5355 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3551, allocations: 1.375 kB / 0.5355 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.992e-05/0.3552, allocations: 22.98 kB / 0.5355 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.3556, allocations: 289.4 kB / 0.5358 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.3557, allocations: 53.94 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.709e-05/0.3558, allocations: 25.09 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3558, allocations: 5.359 kB / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.356, allocations: 69.08 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.356, allocations: 0 / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005928/0.3566, allocations: 170 kB / 0.5361 GB, free: 8.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.28e-05/0.3567, allocations: 94.02 kB / 0.5362 GB, free: 8.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.3569, allocations: 162.4 kB / 0.5363 GB, free: 8.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.357, allocations: 31.02 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.944e-05/0.357, allocations: 97.25 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.3571, allocations: 26.34 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.3571, allocations: 29.42 kB / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3573, allocations: 317.5 kB / 0.5368 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.484e-05/0.3574, allocations: 23.55 kB / 0.5368 GB, free: 8.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.95e-05/0.3575, allocations: 48.78 kB / 0.5369 GB, free: 8.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.3576, allocations: 63.61 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3576, allocations: 0 / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002226/0.3579, allocations: 99.56 kB / 0.537 GB, free: 8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3579, allocations: 5.594 kB / 0.537 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3579, allocations: 0 / 0.537 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.3579, allocations: 9.328 kB / 0.537 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.358, allocations: 20.94 kB / 0.537 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.3581, allocations: 5 kB / 0.5371 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.211e-05/0.3581, allocations: 2.281 kB / 0.5371 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.3581, allocations: 3.438 kB / 0.5371 GB, free: 7.98 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.0001254/0.3583, allocations: 127.5 kB / 0.5372 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.3583, allocations: 9.578 kB / 0.5372 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.3584, allocations: 12.22 kB / 0.5372 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3584, allocations: 5 kB / 0.5372 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3584, allocations: 5.125 kB / 0.5372 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.3584, allocations: 3.984 kB / 0.5372 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.3589, allocations: 396.4 kB / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.3589, allocations: 5 kB / 0.5376 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.359, allocations: 7.062 kB / 0.5376 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.359, allocations: 1.156 kB / 0.5376 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.359, allocations: 1.812 kB / 0.5376 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.359, allocations: 1.062 kB / 0.5376 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.359, allocations: 7.969 kB / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.3593, allocations: 201 kB / 0.5378 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.3594, allocations: 91.47 kB / 0.5379 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.3594, allocations: 6.344 kB / 0.5379 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.3595, allocations: 1.281 kB / 0.5379 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.3595, allocations: 8.141 kB / 0.5379 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.3596, allocations: 6.844 kB / 0.5379 GB, free: 7.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.3597, allocations: 127.7 kB / 0.538 GB, free: 7.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3597, allocations: 0 / 0.538 GB, free: 7.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003187/0.36, allocations: 50.45 kB / 0.5381 GB, free: 7.023 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.002404/0.3624, allocations: 1.188 MB / 0.5392 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.3626, allocations: 62 kB / 0.5393 GB, free: 6.098 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3627, allocations: 5.25 kB / 0.5393 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/0.3627, allocations: 25.23 kB / 0.5393 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.3631, allocations: 37.67 kB / 0.5394 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.3651, allocations: 1.584 MB / 0.5409 GB, free: 4.641 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.3655, allocations: 0.6983 MB / 0.5416 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.544e-05/0.3656, allocations: 23.97 kB / 0.5416 GB, free: 3.918 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.3656, allocations: 41.91 kB / 0.5417 GB, free: 3.887 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3657, allocations: 0 / 0.5417 GB, free: 3.887 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.3943, allocations: 4.036 MB / 0.5456 GB, free: 1.656 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/8.576, allocations: 10.08 kB / 0.5456 GB, free: 1.648 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89_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_Test89.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1)