Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.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.00171/0.00171, allocations: 105.4 kB / 19.8 MB, free: 2.496 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.002156/0.002156, allocations: 215.2 kB / 22.99 MB, free: 5.59 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.51/1.51, allocations: 230.2 MB / 256.2 MB, free: 8.52 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.2284/0.2284, allocations: 46.9 MB / 359.4 MB, free: 4.867 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.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test29",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.002362/0.002362, allocations: 83.86 kB / 0.4942 GB, free: 8.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3309, allocations: 65.98 MB / 0.5586 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.003619/0.3346, allocations: 1.671 MB / 0.5602 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.3359, allocations: 0.5576 MB / 0.5608 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.109e-05/0.336, allocations: 0 / 0.5608 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.3363, allocations: 47.77 kB / 0.5608 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004195/0.3367, allocations: 75.62 kB / 0.5609 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.3372, allocations: 91.69 kB / 0.561 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.3374, allocations: 95.8 kB / 0.5611 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.3376, allocations: 21.81 kB / 0.5611 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.134e-05/0.3377, allocations: 31.8 kB / 0.5611 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.3378, allocations: 39.83 kB / 0.5612 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.3379, allocations: 8 kB / 0.5612 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.338, allocations: 39.98 kB / 0.5612 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.3e-05/0.3381, allocations: 23.92 kB / 0.5612 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.839e-05/0.3382, allocations: 35.73 kB / 0.5613 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.3385, allocations: 119.4 kB / 0.5614 GB, free: 2.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3385, allocations: 0 / 0.5614 GB, free: 2.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3385, allocations: 0 / 0.5614 GB, free: 2.254 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.3385, allocations: 0 / 0.5614 GB, free: 2.254 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008165/0.3393, allocations: 410.8 kB / 0.5618 GB, free: 1.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.3394, allocations: 8.031 kB / 0.5618 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.549e-05/0.3394, allocations: 38.75 kB / 0.5618 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.3395, allocations: 12.84 kB / 0.5618 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.3398, allocations: 196.2 kB / 0.562 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.3398, allocations: 12.36 kB / 0.562 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.979e-05/0.3399, allocations: 4.375 kB / 0.562 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.3401, allocations: 74.16 kB / 0.5621 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.3402, allocations: 3.938 kB / 0.5621 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.3402, allocations: 0 / 0.5621 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3402, allocations: 4 kB / 0.5621 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.3404, allocations: 35.97 kB / 0.5621 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000714/0.3411, allocations: 332.6 kB / 0.5625 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.3413, allocations: 54.56 kB / 0.5625 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.877e-05/0.3414, allocations: 24.84 kB / 0.5625 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.3414, allocations: 0 / 0.5625 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.3414, allocations: 34.5 kB / 0.5626 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3414, allocations: 4 kB / 0.5626 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001483/0.3429, allocations: 305.7 kB / 0.5629 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.343, allocations: 55.34 kB / 0.5629 GB, free: 496 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.3432, allocations: 164.8 kB / 0.5631 GB, free: 324 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.3432, allocations: 33.7 kB / 0.5631 GB, free: 284 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.3433, allocations: 100.1 kB / 0.5632 GB, free: 180 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.3434, allocations: 47.59 kB / 0.5632 GB, free: 132 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.3434, allocations: 21.72 kB / 0.5633 GB, free: 104 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.3436, allocations: 326.8 kB / 0.5636 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3438, allocations: 35.97 kB / 0.5636 GB, free: 15.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.3439, allocations: 35.98 kB / 0.5636 GB, free: 15.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.3442, allocations: 92.08 kB / 0.5637 GB, free: 15.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3442, allocations: 0 / 0.5637 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003681/0.3445, allocations: 141.5 kB / 0.5639 GB, free: 15.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.3446, allocations: 8 kB / 0.5639 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3446, allocations: 0 / 0.5639 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.191e-05/0.3446, allocations: 3.938 kB / 0.5639 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.3448, allocations: 27.98 kB / 0.5639 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.3448, allocations: 4 kB / 0.5639 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.53e-05/0.3449, allocations: 0 / 0.5639 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.3449, allocations: 11.98 kB / 0.5639 GB, free: 15.41 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 (13): * Single equations (assignments): 13 * 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.0001626/0.3451, allocations: 129.9 kB / 0.564 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.3451, allocations: 15.84 kB / 0.5641 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005235/0.3457, allocations: 158.4 kB / 0.5642 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3457, allocations: 4 kB / 0.5642 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.3457, allocations: 0 / 0.5642 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.3457, allocations: 0 / 0.5642 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.3467, allocations: 475.1 kB / 0.5647 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3467, allocations: 0 / 0.5647 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.3468, allocations: 27.92 kB / 0.5647 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3468, allocations: 0 / 0.5647 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.3469, allocations: 12.02 kB / 0.5647 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3469, allocations: 0 / 0.5647 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.3469, allocations: 0 / 0.5647 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004794/0.3474, allocations: 228.3 kB / 0.5649 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.451e-05/0.3474, allocations: 89.02 kB / 0.565 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.3475, allocations: 15.92 kB / 0.565 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.664e-05/0.3476, allocations: 8 kB / 0.565 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.3476, allocations: 15.92 kB / 0.5651 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.3477, allocations: 4 kB / 0.5651 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001704/0.3478, allocations: 127.2 kB / 0.5652 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3478, allocations: 3.938 kB / 0.5652 GB, free: 14.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003663/0.3482, allocations: 20 kB / 0.5652 GB, free: 14 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 (13): * Single equations (assignments): 13 * 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.002813/0.351, allocations: 1.127 MB / 0.5663 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003785/0.3514, allocations: 87.89 kB / 0.5664 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3514, allocations: 0 / 0.5664 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.3515, allocations: 55.84 kB / 0.5664 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.3521, allocations: 30.22 kB / 0.5665 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.3551, allocations: 1.679 MB / 0.5681 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/0.3556, allocations: 0.708 MB / 0.5688 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.3557, allocations: 24.53 kB / 0.5688 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.3558, allocations: 35.42 kB / 0.5689 GB, free: 10.29 MB / 414.1 MB Notification: Performance of SimCode: time 2.054e-06/0.3558, allocations: 0 / 0.5689 GB, free: 10.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.3846, allocations: 3.193 MB / 0.572 GB, free: 7.102 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/8.564, allocations: 11.3 kB / 0.572 GB, free: 7.094 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.475893908995204] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y', 'clock.y', 'd2_t_new.y', 'd2_t_new2.y'] 8.687724739022087 8.706449848 8.364880362 Calling exit ...