Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.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.001594/0.001594, allocations: 108.5 kB / 19.8 MB, free: 2.5 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.001453/0.001453, allocations: 217 kB / 23 MB, free: 5.582 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.454/1.454, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.2247/0.2247, allocations: 46.9 MB / 359.4 MB, free: 4.895 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.Test69,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69",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.002288/0.002288, allocations: 87.84 kB / 0.4942 GB, free: 8.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3693, allocations: 65.99 MB / 0.5586 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.004529/0.3738, allocations: 1.845 MB / 0.5604 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002776/0.3766, allocations: 1.115 MB / 0.5615 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.888e-05/0.3767, allocations: 0 / 0.5615 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007176/0.3774, allocations: 295.3 kB / 0.5618 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006684/0.3781, allocations: 255.2 kB / 0.5621 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.3784, allocations: 111.6 kB / 0.5622 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004728/0.3789, allocations: 263.2 kB / 0.5624 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.61e-05/0.379, allocations: 13.67 kB / 0.5624 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.3792, allocations: 123.6 kB / 0.5625 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003712/0.3796, allocations: 215.9 kB / 0.5628 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.258e-05/0.3796, allocations: 8 kB / 0.5628 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.3798, allocations: 47.98 kB / 0.5628 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.38, allocations: 132.5 kB / 0.5629 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.3802, allocations: 146.8 kB / 0.5631 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006133/0.3808, allocations: 380 kB / 0.5634 GB, free: 180 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3808, allocations: 0 / 0.5634 GB, free: 180 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3808, allocations: 4 kB / 0.5634 GB, free: 176 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.3808, allocations: 0 / 0.5634 GB, free: 176 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001381/0.3822, allocations: 0.7485 MB / 0.5642 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.3823, allocations: 15.97 kB / 0.5642 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.383e-05/0.3823, allocations: 34.75 kB / 0.5642 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.3824, allocations: 52.61 kB / 0.5643 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009068/0.3833, allocations: 452.3 kB / 0.5647 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.3833, allocations: 4.375 kB / 0.5647 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.3834, allocations: 4.375 kB / 0.5647 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.3836, allocations: 91.48 kB / 0.5648 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.3837, allocations: 0 / 0.5648 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3837, allocations: 3.938 kB / 0.5648 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3837, allocations: 4 kB / 0.5648 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.3838, allocations: 35.91 kB / 0.5648 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005976/0.3844, allocations: 374.4 kB / 0.5652 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.3848, allocations: 93.23 kB / 0.5653 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.385, allocations: 41.64 kB / 0.5653 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.385, allocations: 4 kB / 0.5653 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003039/0.3853, allocations: 113 kB / 0.5654 GB, free: 13.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.3853, allocations: 0 / 0.5654 GB, free: 13.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006742/0.386, allocations: 201.2 kB / 0.5656 GB, free: 13.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/0.386, allocations: 81.11 kB / 0.5657 GB, free: 13.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/0.3878, allocations: 1.03 MB / 0.5667 GB, free: 12.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.3878, allocations: 25.7 kB / 0.5667 GB, free: 12.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.3881, allocations: 232.1 kB / 0.567 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.405e-05/0.3882, allocations: 31.8 kB / 0.567 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-05/0.3883, allocations: 25.7 kB / 0.567 GB, free: 12.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002735/0.3885, allocations: 370.8 kB / 0.5674 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.3887, allocations: 24.48 kB / 0.5674 GB, free: 11.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.3888, allocations: 67.41 kB / 0.5674 GB, free: 11.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.3891, allocations: 87.36 kB / 0.5675 GB, free: 11.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3891, allocations: 0 / 0.5675 GB, free: 11.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004631/0.3896, allocations: 181.2 kB / 0.5677 GB, free: 11.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3896, allocations: 8 kB / 0.5677 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3896, allocations: 0 / 0.5677 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3896, allocations: 3.938 kB / 0.5677 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.3898, allocations: 27.92 kB / 0.5677 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.3898, allocations: 0 / 0.5677 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.3899, allocations: 11.89 kB / 0.5678 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.3899, allocations: 8 kB / 0.5678 GB, free: 11.44 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0003339/0.3903, allocations: 226.7 kB / 0.568 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.764e-05/0.3904, allocations: 51.61 kB / 0.568 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005461/0.3909, allocations: 201.7 kB / 0.5682 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3909, allocations: 4 kB / 0.5682 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3909, allocations: 256 / 0.5682 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3909, allocations: 0 / 0.5682 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005005/0.3914, allocations: 349.4 kB / 0.5686 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3914, allocations: 7.875 kB / 0.5686 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.852e-05/0.3915, allocations: 15.92 kB / 0.5686 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3915, allocations: 4 kB / 0.5686 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.3915, allocations: 4 kB / 0.5686 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3915, allocations: 0 / 0.5686 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3915, allocations: 0 / 0.5686 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000528/0.3921, allocations: 217.5 kB / 0.5688 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.3923, allocations: 144.7 kB / 0.5689 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.737e-05/0.3923, allocations: 3.984 kB / 0.5689 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.3924, allocations: 8 kB / 0.5689 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.3925, allocations: 11.98 kB / 0.569 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.3925, allocations: 7.938 kB / 0.569 GB, free: 10.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00125/0.3938, allocations: 0.7643 MB / 0.5697 GB, free: 9.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3938, allocations: 4 kB / 0.5697 GB, free: 9.336 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004697/0.3942, allocations: 40 kB / 0.5698 GB, free: 9.297 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00281/0.397, allocations: 1.06 MB / 0.5708 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003844/0.3974, allocations: 79.84 kB / 0.5709 GB, free: 8.277 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3974, allocations: 4 kB / 0.5709 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.3976, allocations: 35.97 kB / 0.5709 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006218/0.3982, allocations: 69.59 kB / 0.571 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008785/0.407, allocations: 4.496 MB / 0.5754 GB, free: 3.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000728/0.4077, allocations: 0.8466 MB / 0.5762 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002148/0.408, allocations: 67.42 kB / 0.5762 GB, free: 2.633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.4082, allocations: 143.4 kB / 0.5764 GB, free: 2.496 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4082, allocations: 4 kB / 0.5764 GB, free: 2.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03943/0.4477, allocations: 9.034 MB / 0.5852 GB, free: 9.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.771/9.218, allocations: 0 / 0.5852 GB, free: 9.477 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.07892351198825] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.348781862994656 9.375945607 8.990023679 Calling exit ...