Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.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.001273/0.001273, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.002662/0.002662, allocations: 217.2 kB / 23 MB, free: 5.609 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.51/1.51, allocations: 230.2 MB / 256.3 MB, free: 8.699 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.2716/0.2716, allocations: 46.89 MB / 359.4 MB, free: 4.93 MB / 286.1 MB " [Timeout remaining time 180] 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.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8",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.003041/0.003041, allocations: 83.86 kB / 0.4942 GB, free: 8.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3701, allocations: 65.99 MB / 0.5587 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003894/0.374, allocations: 1.768 MB / 0.5604 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.376, allocations: 1.049 MB / 0.5614 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.3761, allocations: 4 kB / 0.5614 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.3765, allocations: 103.7 kB / 0.5615 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.3769, allocations: 123.5 kB / 0.5616 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.3772, allocations: 83.66 kB / 0.5617 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.3774, allocations: 131.6 kB / 0.5619 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.3775, allocations: 21.8 kB / 0.5619 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.3776, allocations: 71.69 kB / 0.5619 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.3778, allocations: 71.73 kB / 0.562 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3778, allocations: 4 kB / 0.562 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.3779, allocations: 63.97 kB / 0.5621 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.319e-05/0.378, allocations: 27.92 kB / 0.5621 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.399e-05/0.3781, allocations: 47.61 kB / 0.5621 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.3783, allocations: 159.3 kB / 0.5623 GB, free: 1.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3783, allocations: 3.984 kB / 0.5623 GB, free: 1.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3784, allocations: 0 / 0.5623 GB, free: 1.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.3784, allocations: 4 kB / 0.5623 GB, free: 1.402 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006448/0.379, allocations: 458.3 kB / 0.5627 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.379, allocations: 12.03 kB / 0.5628 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.3791, allocations: 38.73 kB / 0.5628 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.3791, allocations: 16.84 kB / 0.5628 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.3795, allocations: 225 kB / 0.563 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.3795, allocations: 8.297 kB / 0.563 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.3795, allocations: 8.375 kB / 0.563 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.3797, allocations: 69.8 kB / 0.5631 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3797, allocations: 0 / 0.5631 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3797, allocations: 0 / 0.5631 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3797, allocations: 0 / 0.5631 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.3798, allocations: 35.97 kB / 0.5631 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.3802, allocations: 324.7 kB / 0.5634 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.3805, allocations: 66.55 kB / 0.5635 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.527e-05/0.3806, allocations: 28.84 kB / 0.5635 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.3806, allocations: 0 / 0.5635 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.3808, allocations: 79.41 kB / 0.5636 GB, free: 15.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.3808, allocations: 4 kB / 0.5636 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008336/0.3816, allocations: 277.7 kB / 0.5639 GB, free: 15.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.3817, allocations: 59.41 kB / 0.5639 GB, free: 15.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.382, allocations: 255.7 kB / 0.5642 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.382, allocations: 33.7 kB / 0.5642 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.069e-05/0.3821, allocations: 112.1 kB / 0.5643 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.3821, allocations: 35.69 kB / 0.5644 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.3822, allocations: 29.66 kB / 0.5644 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3823, allocations: 334.8 kB / 0.5647 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.3825, allocations: 31.98 kB / 0.5647 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.3826, allocations: 49.7 kB / 0.5648 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.3828, allocations: 93.69 kB / 0.5649 GB, free: 14.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3828, allocations: 0 / 0.5649 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002601/0.383, allocations: 145.5 kB / 0.565 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.383, allocations: 7.938 kB / 0.565 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.383, allocations: 0 / 0.565 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3831, allocations: 4.031 kB / 0.565 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.734e-05/0.3831, allocations: 23.98 kB / 0.565 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3832, allocations: 0 / 0.565 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.302e-05/0.3832, allocations: 15.89 kB / 0.5651 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3832, allocations: 4 kB / 0.5651 GB, free: 14.32 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 (14): * Single equations (assignments): 14 * 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.000127/0.3833, allocations: 137.8 kB / 0.5652 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.3834, allocations: 19.84 kB / 0.5652 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003244/0.3837, allocations: 166.9 kB / 0.5654 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.3837, allocations: 7.984 kB / 0.5654 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3837, allocations: 0 / 0.5654 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.3837, allocations: 3.938 kB / 0.5654 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007163/0.3844, allocations: 480 kB / 0.5658 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3844, allocations: 0 / 0.5658 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-05/0.3845, allocations: 19.92 kB / 0.5659 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3845, allocations: 4 kB / 0.5659 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3845, allocations: 0 / 0.5659 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3845, allocations: 8.062 kB / 0.5659 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3845, allocations: 0 / 0.5659 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.3848, allocations: 245 kB / 0.5661 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.3849, allocations: 96.95 kB / 0.5662 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.3849, allocations: 4 kB / 0.5662 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.537e-05/0.385, allocations: 8 kB / 0.5662 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.385, allocations: 11.98 kB / 0.5662 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.3851, allocations: 7.984 kB / 0.5662 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002091/0.3853, allocations: 193.5 kB / 0.5664 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3853, allocations: 96 / 0.5664 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.3856, allocations: 39.88 kB / 0.5665 GB, free: 12.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002371/0.3879, allocations: 1.188 MB / 0.5676 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000229/0.3882, allocations: 79.91 kB / 0.5677 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3882, allocations: 3.938 kB / 0.5677 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.754e-05/0.3883, allocations: 44.11 kB / 0.5677 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.3887, allocations: 39.48 kB / 0.5678 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.391, allocations: 1.966 MB / 0.5697 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.3914, allocations: 0.7279 MB / 0.5704 GB, free: 8.789 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.281e-05/0.3915, allocations: 21.06 kB / 0.5704 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.384e-05/0.3916, allocations: 51.42 kB / 0.5705 GB, free: 8.719 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3916, allocations: 0 / 0.5705 GB, free: 8.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.4195, allocations: 4.219 MB / 0.5746 GB, free: 4.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/8.671, allocations: 11.94 kB / 0.5746 GB, free: 4.516 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.570953429007204] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd2_t_new.y'] 8.797125548997428 8.822216224 8.438721187 Calling exit ...