Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.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.001845/0.001845, allocations: 110.5 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.002285/0.002285, allocations: 213.2 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.475/1.475, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2571/0.2571, allocations: 46.92 MB / 361.6 MB, free: 4.203 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.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27",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.002297/0.002297, allocations: 79.86 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3208, allocations: 66.08 MB / 0.5615 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003142/0.324, allocations: 1.642 MB / 0.5631 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.325, allocations: 0.5538 MB / 0.5637 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.3251, allocations: 7.938 kB / 0.5637 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.3254, allocations: 127.6 kB / 0.5638 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.3258, allocations: 127.5 kB / 0.5639 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.3261, allocations: 103.7 kB / 0.564 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.3263, allocations: 107.7 kB / 0.5641 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.3264, allocations: 11.98 kB / 0.5641 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.402e-05/0.3264, allocations: 51.83 kB / 0.5642 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.3266, allocations: 91.75 kB / 0.5643 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.3266, allocations: 4 kB / 0.5643 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.529e-05/0.3267, allocations: 47.92 kB / 0.5643 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.3268, allocations: 31.91 kB / 0.5644 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.3268, allocations: 35.69 kB / 0.5644 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.327, allocations: 119.4 kB / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.327, allocations: 3.938 kB / 0.5645 GB, free: 1.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.327, allocations: 0 / 0.5645 GB, free: 1.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.327, allocations: 4 kB / 0.5645 GB, free: 1.363 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.0005098/0.3275, allocations: 369.3 kB / 0.5649 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3276, allocations: 12.03 kB / 0.5649 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.3276, allocations: 34.73 kB / 0.5649 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.3277, allocations: 16.84 kB / 0.5649 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.3279, allocations: 158.4 kB / 0.5651 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.3279, allocations: 8.375 kB / 0.5651 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.3279, allocations: 384 / 0.5651 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.328, allocations: 62.17 kB / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.3281, allocations: 7.938 kB / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.3281, allocations: 0 / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3281, allocations: 0 / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.787e-05/0.3282, allocations: 27.97 kB / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.3286, allocations: 283.9 kB / 0.5654 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.3287, allocations: 50.5 kB / 0.5655 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/0.3288, allocations: 16.94 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.3288, allocations: 0 / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.3288, allocations: 34.56 kB / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.3288, allocations: 0 / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009136/0.3297, allocations: 253.7 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.3298, allocations: 51.41 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.3301, allocations: 275.8 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.3301, allocations: 33.62 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.3302, allocations: 112.1 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.3302, allocations: 27.75 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.3302, allocations: 25.7 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3304, allocations: 334.8 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.437e-05/0.3305, allocations: 23.98 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.722e-05/0.3306, allocations: 39.84 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.3307, allocations: 76.89 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3307, allocations: 0 / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002354/0.331, allocations: 125.5 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.331, allocations: 6.188 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.331, allocations: 0 / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.331, allocations: 0 / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.3311, allocations: 19.98 kB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3311, allocations: 3.938 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.148e-05/0.3312, allocations: 4 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.3312, allocations: 3.938 kB / 0.5669 GB, free: 14.71 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.0001135/0.3313, allocations: 140 kB / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.3313, allocations: 19.89 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.3316, allocations: 127.4 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3316, allocations: 4 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3316, allocations: 0 / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3316, allocations: 3.984 kB / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005783/0.3322, allocations: 410.3 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3322, allocations: 0 / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-05/0.3323, allocations: 23.92 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3323, allocations: 0 / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3323, allocations: 3.938 kB / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3323, allocations: 4 kB / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.3323, allocations: 4 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.3326, allocations: 216.3 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.3326, allocations: 15.89 kB / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.3326, allocations: 7.938 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.3327, allocations: 11.94 kB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.3327, allocations: 3.984 kB / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.3328, allocations: 7.938 kB / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.3329, allocations: 208.1 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3329, allocations: 4 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.3332, allocations: 27.92 kB / 0.5681 GB, free: 13.4 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.002065/0.3352, allocations: 1.085 MB / 0.5691 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.3355, allocations: 75.88 kB / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3355, allocations: 0 / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.505e-05/0.3356, allocations: 39.92 kB / 0.5693 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.336, allocations: 30.36 kB / 0.5693 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.3381, allocations: 1.86 MB / 0.5711 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.3385, allocations: 0.7236 MB / 0.5718 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.303e-05/0.3386, allocations: 20.95 kB / 0.5718 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.3386, allocations: 39.42 kB / 0.5719 GB, free: 9.547 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3386, allocations: 0 / 0.5719 GB, free: 9.547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.3653, allocations: 3.533 MB / 0.5753 GB, free: 6.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.382, allocations: 4.672 kB / 0.5753 GB, free: 6.02 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.321229038294405] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.525266361888498 8.552566207 8.220756724 Calling exit ...