Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001337/0.001337, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.002392/0.002392, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.581/1.581, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2394/0.2394, allocations: 46.93 MB / 361.6 MB, free: 4.188 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.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21",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.002423/0.002423, allocations: 79.88 kB / 0.497 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3443, allocations: 66.08 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003449/0.3478, allocations: 1.618 MB / 0.5631 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.3498, allocations: 1.267 MB / 0.5643 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.35, allocations: 3.938 kB / 0.5643 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.3503, allocations: 27.86 kB / 0.5644 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.3506, allocations: 83.61 kB / 0.5645 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.351, allocations: 111.7 kB / 0.5646 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.3512, allocations: 71.77 kB / 0.5646 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.3514, allocations: 11.98 kB / 0.5646 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.403e-05/0.3514, allocations: 23.92 kB / 0.5647 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.3517, allocations: 35.84 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.3517, allocations: 4 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.3519, allocations: 99.88 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.388e-05/0.352, allocations: 15.92 kB / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.352, allocations: 19.88 kB / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.3523, allocations: 147.5 kB / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3523, allocations: 0 / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3523, allocations: 0 / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.3523, allocations: 0 / 0.565 GB, free: 0.7539 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005938/0.3529, allocations: 329.7 kB / 0.5653 GB, free: 408 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.353, allocations: 19.95 kB / 0.5653 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.902e-05/0.353, allocations: 30.75 kB / 0.5653 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.3531, allocations: 8.891 kB / 0.5653 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.3533, allocations: 138.4 kB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.3533, allocations: 384 / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.3533, allocations: 384 / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.3535, allocations: 67.95 kB / 0.5655 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.3535, allocations: 11.86 kB / 0.5655 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3535, allocations: 4 kB / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3535, allocations: 0 / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.735e-05/0.3536, allocations: 27.97 kB / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.3541, allocations: 244 kB / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.3543, allocations: 54.48 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.41e-05/0.3544, allocations: 16.86 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.3544, allocations: 8.062 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.3545, allocations: 34.56 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3545, allocations: 0 / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005926/0.355, allocations: 145.4 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.3551, allocations: 85.11 kB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.3553, allocations: 144.3 kB / 0.5663 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.3553, allocations: 29.7 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.3554, allocations: 96.06 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.3554, allocations: 15.86 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.3554, allocations: 17.72 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3556, allocations: 326.8 kB / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-05/0.3557, allocations: 23.92 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.5e-05/0.3558, allocations: 41.69 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.3559, allocations: 53.02 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3559, allocations: 0 / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001975/0.3561, allocations: 89.56 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3561, allocations: 4 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3561, allocations: 0 / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3561, allocations: 8.016 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.8e-05/0.3562, allocations: 12 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.3562, allocations: 3.938 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.3563, allocations: 7.984 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.3563, allocations: 0 / 0.567 GB, free: 14.48 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 (5): * Single equations (assignments): 5 * 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 9.652e-05/0.3564, allocations: 118.7 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.3564, allocations: 7.953 kB / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.3567, allocations: 106 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3567, allocations: 0 / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3567, allocations: 0 / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3567, allocations: 0 / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.3571, allocations: 329.6 kB / 0.5675 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3572, allocations: 0 / 0.5675 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.3572, allocations: 19.92 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3572, allocations: 4 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.3572, allocations: 0 / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3572, allocations: 0 / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3572, allocations: 3.938 kB / 0.5675 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.3575, allocations: 183.7 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/0.3575, allocations: 11.95 kB / 0.5677 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.3575, allocations: 0 / 0.5677 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.876e-05/0.3576, allocations: 11.98 kB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.3577, allocations: 3.938 kB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.3577, allocations: 4 kB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.3578, allocations: 117.4 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3578, allocations: 0 / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.3581, allocations: 35.88 kB / 0.5679 GB, free: 13.46 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.002259/0.3603, allocations: 1.111 MB / 0.569 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000229/0.3606, allocations: 55.95 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3606, allocations: 0 / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.046e-05/0.3606, allocations: 27.92 kB / 0.5691 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.361, allocations: 23.67 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.363, allocations: 1.444 MB / 0.5705 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.3634, allocations: 0.6885 MB / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.463e-05/0.3635, allocations: 23.75 kB / 0.5712 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.3636, allocations: 35.36 kB / 0.5712 GB, free: 10.09 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3636, allocations: 0 / 0.5712 GB, free: 10.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.3918, allocations: 3.318 MB / 0.5745 GB, free: 6.746 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/8.334, allocations: 9.781 kB / 0.5745 GB, free: 6.738 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.428921196144074] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.47275186702609 8.487405355 8.13198731 Calling exit ...