Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.00138, allocations: 200.7 kB / 18.73 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.488/1.488, allocations: 227.4 MB / 247 MB, free: 10.46 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.223/0.223, allocations: 46.11 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.002376/0.002376, allocations: 75.88 kB / 481 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.341, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003422/0.3445, allocations: 1.725 MB / 0.5324 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.3471, allocations: 1.63 MB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.3472, allocations: 0 / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.3475, allocations: 41.08 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.3479, allocations: 104.8 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.3481, allocations: 74.95 kB / 0.5342 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.3483, allocations: 101.5 kB / 0.5343 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3484, allocations: 19.2 kB / 0.5343 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.523e-05/0.3485, allocations: 48.44 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.3487, allocations: 42.22 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.3487, allocations: 5.312 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.3489, allocations: 111.8 kB / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.942e-05/0.349, allocations: 16.42 kB / 0.5345 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/0.3491, allocations: 39.59 kB / 0.5346 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.3494, allocations: 169.9 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3494, allocations: 5.531 kB / 0.5347 GB, free: 10.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3494, allocations: 0 / 0.5347 GB, free: 10.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3494, allocations: 0 / 0.5347 GB, free: 10.26 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.0006209/0.3501, allocations: 426.5 kB / 0.5351 GB, free: 9.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3501, allocations: 9.75 kB / 0.5351 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.3502, allocations: 30.75 kB / 0.5352 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.3502, allocations: 18.33 kB / 0.5352 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.3506, allocations: 218.6 kB / 0.5354 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.3506, allocations: 1.375 kB / 0.5354 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.3506, allocations: 6.75 kB / 0.5354 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.3508, allocations: 69.14 kB / 0.5355 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3508, allocations: 1.375 kB / 0.5355 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3508, allocations: 0 / 0.5355 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3509, allocations: 1.375 kB / 0.5355 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.864e-05/0.3509, allocations: 18.98 kB / 0.5355 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.3513, allocations: 301.4 kB / 0.5358 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.3515, allocations: 52.56 kB / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.145e-05/0.3516, allocations: 22.47 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.3516, allocations: 1.375 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.3518, allocations: 69.08 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.3518, allocations: 4 kB / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005253/0.3523, allocations: 169 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.3524, allocations: 90.3 kB / 0.5362 GB, free: 8.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.3526, allocations: 163.6 kB / 0.5363 GB, free: 8.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3526, allocations: 27.08 kB / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.3527, allocations: 100.8 kB / 0.5364 GB, free: 8.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.3527, allocations: 26.97 kB / 0.5365 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.3528, allocations: 29.33 kB / 0.5365 GB, free: 8.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3529, allocations: 321.3 kB / 0.5368 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.906e-05/0.353, allocations: 19.53 kB / 0.5368 GB, free: 8.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.682e-05/0.3531, allocations: 45.03 kB / 0.5369 GB, free: 8.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.3532, allocations: 62.55 kB / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3532, allocations: 1.031 kB / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001883/0.3534, allocations: 99.34 kB / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3534, allocations: 8.359 kB / 0.537 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3534, allocations: 1.125 kB / 0.537 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3534, allocations: 1.094 kB / 0.537 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.745e-05/0.3535, allocations: 21.22 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3535, allocations: 1.531 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.398e-05/0.3536, allocations: 5.406 kB / 0.5371 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.3536, allocations: 6.453 kB / 0.5371 GB, free: 8.004 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.0001028/0.3537, allocations: 120.7 kB / 0.5372 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.3538, allocations: 9.234 kB / 0.5372 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.3538, allocations: 16.2 kB / 0.5372 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3538, allocations: 9.016 kB / 0.5372 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3538, allocations: 1.031 kB / 0.5372 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.3538, allocations: 0 / 0.5372 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.3543, allocations: 400.5 kB / 0.5376 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3543, allocations: 5 kB / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.3544, allocations: 11.28 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3544, allocations: 1.312 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3544, allocations: 2.625 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.3544, allocations: 8.016 kB / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.3544, allocations: 9.156 kB / 0.5376 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.3547, allocations: 196.2 kB / 0.5378 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.3547, allocations: 91.28 kB / 0.5379 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.3548, allocations: 6.281 kB / 0.5379 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.3549, allocations: 6.344 kB / 0.5379 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.3549, allocations: 7.453 kB / 0.5379 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.3549, allocations: 3.281 kB / 0.5379 GB, free: 7.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.355, allocations: 127 kB / 0.538 GB, free: 7.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.355, allocations: 1.094 kB / 0.538 GB, free: 7.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003036/0.3554, allocations: 45.89 kB / 0.5381 GB, free: 7.047 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.002387/0.3577, allocations: 1.19 MB / 0.5393 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.358, allocations: 62.62 kB / 0.5393 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.358, allocations: 0 / 0.5393 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.699e-05/0.3581, allocations: 33.45 kB / 0.5393 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3584, allocations: 38.23 kB / 0.5394 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.3604, allocations: 1.583 MB / 0.5409 GB, free: 4.656 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.3607, allocations: 0.7028 MB / 0.5416 GB, free: 3.945 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.978e-05/0.3608, allocations: 20.33 kB / 0.5416 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.675e-05/0.3609, allocations: 37.72 kB / 0.5417 GB, free: 3.906 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.3609, allocations: 0 / 0.5417 GB, free: 3.906 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.3873, allocations: 4.024 MB / 0.5456 GB, free: 1.688 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.172/8.559, allocations: 17.7 kB / 0.5456 GB, free: 1.672 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55_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_Test55.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1)