Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001375/0.001375, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001439/0.001439, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.467/1.467, allocations: 230.5 MB / 258.2 MB, free: 8.055 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.2332/0.2332, allocations: 46.93 MB / 361.6 MB, free: 4.215 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.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",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.002324/0.002324, allocations: 79.88 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3224, allocations: 66.08 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003218/0.3256, allocations: 1.623 MB / 0.5631 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.3267, allocations: 0.5693 MB / 0.5637 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.69e-05/0.3268, allocations: 0 / 0.5637 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.327, allocations: 19.86 kB / 0.5637 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.3273, allocations: 83.61 kB / 0.5638 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.3276, allocations: 95.69 kB / 0.5639 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.3277, allocations: 79.77 kB / 0.5639 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.916e-05/0.3278, allocations: 4 kB / 0.5639 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.833e-05/0.3279, allocations: 31.91 kB / 0.564 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.139e-05/0.328, allocations: 31.84 kB / 0.564 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.328, allocations: 4 kB / 0.564 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.3282, allocations: 107.9 kB / 0.5641 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.3282, allocations: 19.91 kB / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.3283, allocations: 23.81 kB / 0.5641 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.3285, allocations: 159.4 kB / 0.5643 GB, free: 1.477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3285, allocations: 0 / 0.5643 GB, free: 1.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3285, allocations: 0 / 0.5643 GB, free: 1.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.3286, allocations: 0 / 0.5643 GB, free: 1.477 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005657/0.3291, allocations: 333.6 kB / 0.5646 GB, free: 1.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3292, allocations: 8.031 kB / 0.5646 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.3292, allocations: 42.75 kB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.3292, allocations: 8.891 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.3294, allocations: 136.8 kB / 0.5648 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3294, allocations: 8.312 kB / 0.5648 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.3295, allocations: 384 / 0.5648 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.3296, allocations: 75.89 kB / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.3296, allocations: 3.938 kB / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.3296, allocations: 0 / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3296, allocations: 4 kB / 0.5649 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.765e-05/0.3297, allocations: 27.97 kB / 0.5649 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.3302, allocations: 272 kB / 0.5652 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.3303, allocations: 62.44 kB / 0.5652 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.118e-05/0.3304, allocations: 20.97 kB / 0.5653 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.3304, allocations: 8 kB / 0.5653 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.3304, allocations: 30.56 kB / 0.5653 GB, free: 324 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.3304, allocations: 0 / 0.5653 GB, free: 324 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006403/0.331, allocations: 193.3 kB / 0.5655 GB, free: 124 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.3311, allocations: 81.11 kB / 0.5656 GB, free: 24 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.3313, allocations: 164.5 kB / 0.5657 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.3313, allocations: 25.7 kB / 0.5657 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.3314, allocations: 96.09 kB / 0.5658 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.3314, allocations: 27.78 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.3314, allocations: 17.72 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3316, allocations: 326.8 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.101e-05/0.3317, allocations: 31.92 kB / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.3318, allocations: 53.69 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.3319, allocations: 68.81 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3319, allocations: 0 / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002397/0.3322, allocations: 117.5 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3322, allocations: 4 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3322, allocations: 0 / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3322, allocations: 32 / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3323, allocations: 23.98 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3323, allocations: 0 / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.353e-05/0.3324, allocations: 11.98 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.3324, allocations: 4 kB / 0.5665 GB, free: 15.02 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 (9): * Single equations (assignments): 9 * 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.81e-05/0.3325, allocations: 122.6 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.3325, allocations: 7.953 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.3328, allocations: 122.6 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3328, allocations: 0 / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3328, allocations: 0 / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3328, allocations: 3.938 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005213/0.3334, allocations: 377.4 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3334, allocations: 0 / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.3334, allocations: 20.36 kB / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3334, allocations: 0 / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3334, allocations: 12 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3334, allocations: 7.875 kB / 0.5671 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.3334, allocations: 0 / 0.5671 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.3337, allocations: 191.5 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.3338, allocations: 19.92 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.3338, allocations: 4 kB / 0.5673 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.892e-05/0.3339, allocations: 11.94 kB / 0.5673 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.3339, allocations: 3.984 kB / 0.5673 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.3339, allocations: 4 kB / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.334, allocations: 115.2 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.334, allocations: 0 / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002932/0.3343, allocations: 43.88 kB / 0.5675 GB, free: 13.89 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 (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.002165/0.3365, allocations: 1.129 MB / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.3367, allocations: 75.88 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3367, allocations: 0 / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.927e-05/0.3368, allocations: 31.97 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.3372, allocations: 26.11 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.339, allocations: 1.557 MB / 0.5703 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.3394, allocations: 0.7 MB / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.86e-05/0.3395, allocations: 20.56 kB / 0.571 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.3395, allocations: 35.42 kB / 0.571 GB, free: 10.35 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3395, allocations: 0 / 0.571 GB, free: 10.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.3672, allocations: 3.638 MB / 0.5745 GB, free: 6.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.408, allocations: 11.98 kB / 0.5746 GB, free: 6.68 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.263738194014877] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y'] 8.552263106685132 8.569194158 8.237372083 Calling exit ...