Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001639/0.001639, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002048/0.002048, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 230.5 MB / 258.2 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2426/0.2426, allocations: 46.93 MB / 361.6 MB, free: 4.223 MB / 286.1 MB " [Timeout remaining time 179] 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.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002839/0.002839, allocations: 83.86 kB / 0.497 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3798, allocations: 66.08 MB / 0.5616 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003343/0.3831, allocations: 1.752 MB / 0.5633 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.385, allocations: 1.045 MB / 0.5643 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.3851, allocations: 3.938 kB / 0.5643 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.3853, allocations: 39.83 kB / 0.5643 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.3857, allocations: 95.55 kB / 0.5644 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.3859, allocations: 87.59 kB / 0.5645 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.386, allocations: 95.77 kB / 0.5646 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.3861, allocations: 13.94 kB / 0.5646 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.911e-05/0.3862, allocations: 43.8 kB / 0.5647 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.153e-05/0.3863, allocations: 43.72 kB / 0.5647 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.3863, allocations: 8 kB / 0.5647 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.806e-05/0.3864, allocations: 43.97 kB / 0.5648 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.3865, allocations: 15.92 kB / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.3865, allocations: 31.75 kB / 0.5648 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.3868, allocations: 123.5 kB / 0.5649 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3868, allocations: 0 / 0.5649 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3868, allocations: 0 / 0.5649 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.3868, allocations: 0 / 0.5649 GB, free: 0.7461 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.0005656/0.3873, allocations: 353.5 kB / 0.5653 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3874, allocations: 12.03 kB / 0.5653 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.3874, allocations: 30.75 kB / 0.5653 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.3875, allocations: 12.89 kB / 0.5653 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.3878, allocations: 162.9 kB / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3878, allocations: 384 / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.3878, allocations: 4.375 kB / 0.5655 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.3879, allocations: 57.8 kB / 0.5655 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.388, allocations: 3.938 kB / 0.5655 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.388, allocations: 0 / 0.5655 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.388, allocations: 4 kB / 0.5655 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.689e-05/0.388, allocations: 19.98 kB / 0.5655 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.3885, allocations: 256 kB / 0.5658 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.3886, allocations: 54.67 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.483e-05/0.3887, allocations: 20.8 kB / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.3887, allocations: 7.938 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.3889, allocations: 63.39 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3889, allocations: 4 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005597/0.3894, allocations: 177.3 kB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.3895, allocations: 51.41 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.3897, allocations: 202.3 kB / 0.5663 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3897, allocations: 33.64 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.3898, allocations: 108.1 kB / 0.5665 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.3898, allocations: 27.78 kB / 0.5665 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.3899, allocations: 21.72 kB / 0.5665 GB, free: 14.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.39, allocations: 326.8 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.887e-05/0.3901, allocations: 19.98 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.798e-05/0.3902, allocations: 37.7 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.3903, allocations: 61.72 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3903, allocations: 384 / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002066/0.3905, allocations: 117.5 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3905, allocations: 6.188 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3905, allocations: 0 / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3905, allocations: 4 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.254e-05/0.3906, allocations: 19.98 kB / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3906, allocations: 0 / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.3907, allocations: 8.031 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3907, allocations: 4 kB / 0.5671 GB, free: 14.3 MB / 414.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.0001099/0.3908, allocations: 130.6 kB / 0.5672 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.3908, allocations: 11.91 kB / 0.5672 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.3911, allocations: 115 kB / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3911, allocations: 4 kB / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3911, allocations: 0 / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3911, allocations: 0 / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.3916, allocations: 370.3 kB / 0.5677 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3916, allocations: 0 / 0.5677 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.252e-05/0.3916, allocations: 8 kB / 0.5677 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3916, allocations: 0 / 0.5677 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3917, allocations: 3.984 kB / 0.5677 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3917, allocations: 7.938 kB / 0.5677 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3917, allocations: 0 / 0.5677 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.3919, allocations: 208.7 kB / 0.5679 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.3919, allocations: 7.953 kB / 0.5679 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.3919, allocations: 3.938 kB / 0.5679 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.392, allocations: 19.86 kB / 0.568 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.3921, allocations: 4 kB / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.3921, allocations: 0 / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000153/0.3922, allocations: 152.2 kB / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3922, allocations: 0 / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000258/0.3925, allocations: 31.92 kB / 0.5681 GB, free: 13.14 MB / 414.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.002066/0.3945, allocations: 1.079 MB / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.3947, allocations: 59.84 kB / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3947, allocations: 0 / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.219e-05/0.3948, allocations: 27.98 kB / 0.5693 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.3952, allocations: 32.97 kB / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.3971, allocations: 1.662 MB / 0.5709 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.3975, allocations: 0.7002 MB / 0.5716 GB, free: 9.605 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.943e-05/0.3975, allocations: 21.27 kB / 0.5716 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.002e-05/0.3976, allocations: 35.42 kB / 0.5717 GB, free: 9.551 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3976, allocations: 3.938 kB / 0.5717 GB, free: 9.547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.4261, allocations: 3.537 MB / 0.5751 GB, free: 6.023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.363, allocations: 4.062 kB / 0.5751 GB, free: 6.02 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.567652220837772] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.504251315258443 8.525827716 8.135131206 Calling exit ...