Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.00156/0.00156, allocations: 109 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.001828/0.001828, 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.483/1.483, allocations: 230.5 MB / 258.2 MB, free: 7.988 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.2419/0.2419, allocations: 46.93 MB / 361.6 MB, free: 4.156 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.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_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.002192/0.002192, allocations: 75.88 kB / 0.497 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.379, allocations: 66.09 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.00304/0.3821, allocations: 1.631 MB / 0.5631 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.3831, allocations: 0.5693 MB / 0.5637 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.3831, allocations: 0 / 0.5637 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.3833, allocations: 75.7 kB / 0.5638 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.3836, allocations: 107.6 kB / 0.5639 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.3838, allocations: 115.7 kB / 0.564 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.384, allocations: 87.73 kB / 0.564 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.447e-05/0.3841, allocations: 8 kB / 0.5641 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.824e-05/0.3841, allocations: 39.91 kB / 0.5641 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.3842, allocations: 63.73 kB / 0.5642 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.3842, allocations: 4 kB / 0.5642 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.34e-05/0.3843, allocations: 47.92 kB / 0.5642 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.475e-05/0.3844, allocations: 27.91 kB / 0.5642 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.3844, allocations: 35.69 kB / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.3846, allocations: 103.5 kB / 0.5644 GB, free: 1.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.3846, allocations: 0 / 0.5644 GB, free: 1.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.3846, allocations: 0 / 0.5644 GB, free: 1.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.3846, allocations: 4 kB / 0.5644 GB, free: 1.359 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004269/0.385, allocations: 341.6 kB / 0.5647 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.3851, allocations: 8.031 kB / 0.5647 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.43e-05/0.3851, allocations: 34.75 kB / 0.5647 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.3851, allocations: 20.84 kB / 0.5648 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.3853, allocations: 154.9 kB / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-06/0.3853, allocations: 384 / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.3854, allocations: 4.375 kB / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.3855, allocations: 54.23 kB / 0.565 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3855, allocations: 3.938 kB / 0.565 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-06/0.3855, allocations: 0 / 0.565 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-06/0.3855, allocations: 4 kB / 0.565 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.443e-05/0.3856, allocations: 23.98 kB / 0.565 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.386, allocations: 279.8 kB / 0.5653 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.877e-05/0.3861, allocations: 42.56 kB / 0.5653 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.3861, allocations: 20.94 kB / 0.5653 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.3862, allocations: 0 / 0.5653 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.3862, allocations: 30.56 kB / 0.5653 GB, free: 224 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.3862, allocations: 4 kB / 0.5654 GB, free: 220 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008774/0.3871, allocations: 245.2 kB / 0.5656 GB, free: 15.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.3871, allocations: 55.41 kB / 0.5656 GB, free: 15.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.3873, allocations: 218.3 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.3874, allocations: 29.7 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.3874, allocations: 104.1 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.3875, allocations: 27.75 kB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.3875, allocations: 25.7 kB / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3877, allocations: 330.8 kB / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.047e-05/0.3878, allocations: 23.98 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.937e-05/0.3878, allocations: 39.91 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.388, allocations: 68.83 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.388, allocations: 0 / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002262/0.3882, allocations: 113.5 kB / 0.5666 GB, free: 14.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3883, allocations: 7.984 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.3883, allocations: 0 / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3883, allocations: 4 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.947e-05/0.3884, allocations: 19.98 kB / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.3884, allocations: 4 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.86e-05/0.3884, allocations: 4 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.3884, allocations: 11.88 kB / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001169/0.3885, allocations: 126.7 kB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.3886, allocations: 15.91 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003079/0.3889, allocations: 139.3 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.3889, allocations: 4 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3889, allocations: 0 / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3889, allocations: 432 / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005651/0.3895, allocations: 398.3 kB / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3895, allocations: 0 / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.586e-05/0.3896, allocations: 16 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3896, allocations: 3.984 kB / 0.5673 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.3896, allocations: 3.969 kB / 0.5673 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3896, allocations: 8 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3896, allocations: 0 / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.3899, allocations: 212.2 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.3899, allocations: 11.91 kB / 0.5675 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.3899, allocations: 7.922 kB / 0.5675 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.39, allocations: 8 kB / 0.5675 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.39, allocations: 11.98 kB / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.39, allocations: 0 / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.3902, allocations: 164.2 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3902, allocations: 0 / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.3904, allocations: 23.94 kB / 0.5677 GB, free: 13.62 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002126/0.3925, allocations: 1.1 MB / 0.5688 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.3928, allocations: 71.88 kB / 0.5689 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3928, allocations: 4 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.372e-05/0.3929, allocations: 35.97 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.3932, allocations: 18.8 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.3953, allocations: 1.72 MB / 0.5706 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.3956, allocations: 0.7119 MB / 0.5713 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.786e-05/0.3957, allocations: 20.59 kB / 0.5713 GB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/0.3957, allocations: 39.42 kB / 0.5714 GB, free: 9.926 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3957, allocations: 0 / 0.5714 GB, free: 9.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.4212, allocations: 3.247 MB / 0.5745 GB, free: 6.684 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/8.208, allocations: 7.312 kB / 0.5745 GB, free: 6.68 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.213112669996917] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 'clock.y'] 8.349337828811258 8.373551972 7.984539201 Calling exit ...