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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001513/0.001513, allocations: 112.3 kB / 20.22 MB, free: 1.793 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.001752/0.001752, allocations: 218 kB / 23.48 MB, free: 5.227 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.47/1.47, allocations: 230.2 MB / 256.8 MB, free: 8.566 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.2431/0.2431, allocations: 46.89 MB / 360 MB, free: 4.723 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.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"}) [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.002246/0.002246, allocations: 83.86 kB / 0.4952 GB, free: 8.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3704, allocations: 65.98 MB / 0.5596 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003822/0.3742, allocations: 1.739 MB / 0.5613 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002972/0.3772, allocations: 1.722 MB / 0.563 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.3773, allocations: 4 kB / 0.563 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003941/0.3777, allocations: 35.77 kB / 0.563 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004921/0.3782, allocations: 99.53 kB / 0.5631 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.3786, allocations: 83.66 kB / 0.5632 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.3788, allocations: 103.7 kB / 0.5633 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.379, allocations: 17.81 kB / 0.5633 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.3792, allocations: 51.7 kB / 0.5634 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.3794, allocations: 43.78 kB / 0.5634 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.3794, allocations: 4 kB / 0.5634 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002388/0.3797, allocations: 107.9 kB / 0.5635 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.754e-05/0.3797, allocations: 19.92 kB / 0.5635 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.548e-05/0.3798, allocations: 35.73 kB / 0.5636 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.3802, allocations: 167.4 kB / 0.5637 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3802, allocations: 0 / 0.5637 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3802, allocations: 7.938 kB / 0.5637 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.3802, allocations: 0 / 0.5637 GB, free: 0.7344 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.0008367/0.3811, allocations: 426.6 kB / 0.5641 GB, free: 276 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.3811, allocations: 12.03 kB / 0.5642 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.803e-05/0.3812, allocations: 34.75 kB / 0.5642 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.3812, allocations: 12.84 kB / 0.5642 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.3816, allocations: 220.2 kB / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.3816, allocations: 384 / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.3817, allocations: 7.938 kB / 0.5644 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.3819, allocations: 75.38 kB / 0.5645 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3819, allocations: 4 kB / 0.5645 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3819, allocations: 3.938 kB / 0.5645 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3819, allocations: 0 / 0.5645 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.418e-05/0.382, allocations: 23.98 kB / 0.5645 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.3824, allocations: 284.8 kB / 0.5648 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.3826, allocations: 54.67 kB / 0.5648 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/0.3826, allocations: 16.86 kB / 0.5649 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.3826, allocations: 3.984 kB / 0.5649 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.3828, allocations: 75.31 kB / 0.5649 GB, free: 15.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.496e-06/0.3828, allocations: 4 kB / 0.5649 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005753/0.3834, allocations: 173.3 kB / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.3835, allocations: 77.11 kB / 0.5652 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.3837, allocations: 166.4 kB / 0.5653 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.3837, allocations: 33.69 kB / 0.5654 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.3838, allocations: 92.14 kB / 0.5655 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.3838, allocations: 35.72 kB / 0.5655 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.3838, allocations: 21.72 kB / 0.5655 GB, free: 14.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.384, allocations: 326.8 kB / 0.5658 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.057e-05/0.3841, allocations: 19.98 kB / 0.5658 GB, free: 14.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.741e-05/0.3841, allocations: 46.5 kB / 0.5659 GB, free: 14.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.3843, allocations: 61.72 kB / 0.5659 GB, free: 14.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3843, allocations: 0 / 0.5659 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001882/0.3844, allocations: 101.7 kB / 0.566 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3845, allocations: 4 kB / 0.566 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3845, allocations: 0 / 0.566 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3845, allocations: 0 / 0.566 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.432e-05/0.3846, allocations: 27.92 kB / 0.5661 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3846, allocations: 0 / 0.5661 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.282e-05/0.3846, allocations: 3.938 kB / 0.5661 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.3846, allocations: 4 kB / 0.5661 GB, free: 14.07 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.0001052/0.3847, allocations: 121.8 kB / 0.5662 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.3848, allocations: 11.98 kB / 0.5662 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.385, allocations: 114.7 kB / 0.5663 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.385, allocations: 0 / 0.5663 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.385, allocations: 0 / 0.5663 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.385, allocations: 7.922 kB / 0.5663 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.3855, allocations: 403.2 kB / 0.5667 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3855, allocations: 0 / 0.5667 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.3855, allocations: 8 kB / 0.5667 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.3855, allocations: 7.969 kB / 0.5667 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3855, allocations: 8 kB / 0.5667 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3855, allocations: 0 / 0.5667 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3855, allocations: 0 / 0.5667 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.3859, allocations: 200.3 kB / 0.5669 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.3859, allocations: 93.05 kB / 0.567 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.3859, allocations: 3.938 kB / 0.567 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.386, allocations: 8 kB / 0.567 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.3861, allocations: 7.984 kB / 0.567 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.3861, allocations: 4 kB / 0.567 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.3862, allocations: 131.9 kB / 0.5672 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3862, allocations: 0 / 0.5672 GB, free: 12.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003246/0.3865, allocations: 43.86 kB / 0.5672 GB, free: 12.8 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.002314/0.3888, allocations: 1.184 MB / 0.5684 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.389, allocations: 63.94 kB / 0.5684 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.389, allocations: 4.062 kB / 0.5684 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.826e-05/0.3891, allocations: 27.92 kB / 0.5685 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.3895, allocations: 35.67 kB / 0.5685 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.3913, allocations: 1.6 MB / 0.57 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.3917, allocations: 0.7041 MB / 0.5707 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.679e-05/0.3917, allocations: 12.88 kB / 0.5707 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.641e-05/0.3918, allocations: 35.42 kB / 0.5708 GB, free: 9.195 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3918, allocations: 0 / 0.5708 GB, free: 9.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.4196, allocations: 4.026 MB / 0.5747 GB, free: 5.156 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.243, allocations: 6.406 kB / 0.5747 GB, free: 5.152 MB / 414.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.204455080907792] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.393338448135182 8.41494768 8.030597019 Calling exit ...