Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.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.001998/0.001998, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002184/0.002184, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.532/1.532, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2498/0.2498, allocations: 46.93 MB / 361.6 MB, free: 4.199 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.Test65,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65",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.002346/0.002346, allocations: 75.88 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3745, allocations: 66.08 MB / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003182/0.3776, allocations: 1.698 MB / 0.5632 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.3797, allocations: 1.029 MB / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.609e-05/0.3798, allocations: 0 / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.3802, allocations: 87.69 kB / 0.5643 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.3805, allocations: 119.6 kB / 0.5644 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.3807, allocations: 71.67 kB / 0.5645 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.3809, allocations: 115.6 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.457e-05/0.381, allocations: 4.234 kB / 0.5646 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.3811, allocations: 51.78 kB / 0.5647 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.3812, allocations: 67.73 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.3812, allocations: 0 / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.445e-05/0.3813, allocations: 35.98 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.3814, allocations: 23.92 kB / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.49e-05/0.3814, allocations: 43.67 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.3816, allocations: 105.5 kB / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3816, allocations: 4 kB / 0.5649 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3816, allocations: 0 / 0.5649 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3816, allocations: 0 / 0.5649 GB, free: 0.8281 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005536/0.3822, allocations: 349.5 kB / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3822, allocations: 8.031 kB / 0.5653 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.3823, allocations: 30.75 kB / 0.5653 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.3823, allocations: 16.83 kB / 0.5653 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.3826, allocations: 162.3 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.3826, allocations: 8.359 kB / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.3826, allocations: 384 / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.3827, allocations: 57.73 kB / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3828, allocations: 0 / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.3828, allocations: 0 / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3828, allocations: 0 / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.079e-05/0.3829, allocations: 15.98 kB / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002373/0.3831, allocations: 156.8 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.3833, allocations: 46.62 kB / 0.5657 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.13e-05/0.3833, allocations: 24.78 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.3834, allocations: 3.938 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.3835, allocations: 67.33 kB / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.3835, allocations: 4 kB / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003092/0.3838, allocations: 97.58 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.3839, allocations: 55.39 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.3841, allocations: 219.5 kB / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3841, allocations: 25.7 kB / 0.5662 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.3842, allocations: 108.1 kB / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.3842, allocations: 15.89 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.3843, allocations: 25.64 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3844, allocations: 326.8 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.994e-05/0.3845, allocations: 12 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.963e-05/0.3845, allocations: 29.7 kB / 0.5667 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.3846, allocations: 45.7 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3846, allocations: 0 / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001607/0.3848, allocations: 89.78 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3848, allocations: 8 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3848, allocations: 4 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3848, allocations: 0 / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.762e-05/0.3849, allocations: 11.98 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3849, allocations: 0 / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.072e-05/0.385, allocations: 4 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.385, allocations: 4 kB / 0.5669 GB, free: 14.62 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 (7): * Single equations (assignments): 7 * 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.0001224/0.3851, allocations: 134.6 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.3851, allocations: 23.88 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.3853, allocations: 86.77 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3853, allocations: 0 / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3853, allocations: 0 / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3853, allocations: 3.984 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.3855, allocations: 160.7 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3855, allocations: 3.938 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-05/0.3855, allocations: 4 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3855, allocations: 0 / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3855, allocations: 3.984 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3855, allocations: 7.938 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3855, allocations: 0 / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.3857, allocations: 113 kB / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.3858, allocations: 19.84 kB / 0.5674 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.3858, allocations: 3.984 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.616e-05/0.3858, allocations: 4 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.3858, allocations: 7.984 kB / 0.5674 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3859, allocations: 4 kB / 0.5674 GB, free: 13.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.386, allocations: 173.1 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.386, allocations: 0 / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002081/0.3862, allocations: 19.94 kB / 0.5676 GB, free: 13.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001841/0.3881, allocations: 0.9409 MB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.3882, allocations: 47.97 kB / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3882, allocations: 0 / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.011e-05/0.3883, allocations: 15.94 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.3885, allocations: 31.34 kB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.3903, allocations: 1.58 MB / 0.5702 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.3906, allocations: 0.708 MB / 0.5709 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.238e-05/0.3907, allocations: 12.48 kB / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.353e-05/0.3908, allocations: 35.42 kB / 0.5709 GB, free: 10.42 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3908, allocations: 0 / 0.5709 GB, free: 10.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.4189, allocations: 3.327 MB / 0.5741 GB, free: 7.105 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.85/8.269, allocations: 7.609 kB / 0.5742 GB, free: 7.102 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --stepSize=0.00019972 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.409534530714154] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.41280046897009 8.43990509 8.053048572 Calling exit ...