Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001404/0.001404, 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.002679/0.002679, 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.458/1.458, 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.2263/0.2263, allocations: 46.93 MB / 361.6 MB, free: 4.301 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.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test7",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.002272/0.002272, allocations: 79.86 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3062, allocations: 66.09 MB / 0.5615 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003128/0.3094, allocations: 1.615 MB / 0.5631 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.3105, allocations: 0.5537 MB / 0.5636 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.842e-05/0.3106, allocations: 0 / 0.5636 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.3108, allocations: 27.84 kB / 0.5637 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.311, allocations: 75.62 kB / 0.5637 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.3113, allocations: 95.62 kB / 0.5638 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.3114, allocations: 63.84 kB / 0.5639 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.947e-05/0.3115, allocations: 15.92 kB / 0.5639 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.3116, allocations: 15.94 kB / 0.5639 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.165e-05/0.3116, allocations: 27.84 kB / 0.564 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.3117, allocations: 4 kB / 0.564 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.069e-05/0.3117, allocations: 39.98 kB / 0.564 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.3118, allocations: 7.938 kB / 0.564 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.119e-05/0.3118, allocations: 27.8 kB / 0.564 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.312, allocations: 83.59 kB / 0.5641 GB, free: 1.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.312, allocations: 0 / 0.5641 GB, free: 1.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.312, allocations: 0 / 0.5641 GB, free: 1.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.312, allocations: 0 / 0.5641 GB, free: 1.684 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.0004569/0.3125, allocations: 317.8 kB / 0.5644 GB, free: 1.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3125, allocations: 8.031 kB / 0.5644 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.211e-05/0.3126, allocations: 42.75 kB / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.3126, allocations: 8.891 kB / 0.5645 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.3128, allocations: 134.4 kB / 0.5646 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.3128, allocations: 384 / 0.5646 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.3128, allocations: 4.375 kB / 0.5646 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.313, allocations: 50.19 kB / 0.5646 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.313, allocations: 3.938 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.313, allocations: 4 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.313, allocations: 0 / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.06e-05/0.3131, allocations: 27.97 kB / 0.5647 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.3135, allocations: 247.9 kB / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.3137, allocations: 42.5 kB / 0.565 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.3137, allocations: 12.86 kB / 0.565 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.3137, allocations: 4 kB / 0.565 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.3137, allocations: 38.64 kB / 0.565 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3138, allocations: 0 / 0.565 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005277/0.3143, allocations: 141.4 kB / 0.5651 GB, free: 488 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.3143, allocations: 51.41 kB / 0.5652 GB, free: 424 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.3145, allocations: 165.8 kB / 0.5654 GB, free: 248 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.3146, allocations: 29.7 kB / 0.5654 GB, free: 212 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.3146, allocations: 100.1 kB / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.3147, allocations: 19.8 kB / 0.5655 GB, free: 88 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.3147, allocations: 13.72 kB / 0.5655 GB, free: 68 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3149, allocations: 326.8 kB / 0.5658 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.088e-05/0.3149, allocations: 19.98 kB / 0.5658 GB, free: 15.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-05/0.315, allocations: 15.98 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.3151, allocations: 52.77 kB / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3151, allocations: 192 / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000187/0.3153, allocations: 89.56 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3153, allocations: 4 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3153, allocations: 0 / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3154, allocations: 4 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.518e-05/0.3154, allocations: 12.27 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.3154, allocations: 0 / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.979e-05/0.3155, allocations: 11.98 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.3155, allocations: 3.938 kB / 0.566 GB, free: 15.52 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 0.0001031/0.3156, allocations: 118.7 kB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.3156, allocations: 7.953 kB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.3158, allocations: 97.98 kB / 0.5662 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3159, allocations: 0 / 0.5662 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3159, allocations: 0 / 0.5662 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3159, allocations: 4 kB / 0.5662 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.3163, allocations: 321.6 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3163, allocations: 0 / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/0.3163, allocations: 19.92 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3163, allocations: 0 / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.3164, allocations: 0 / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.3164, allocations: 3.938 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3164, allocations: 0 / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.3166, allocations: 183.7 kB / 0.5667 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.3166, allocations: 3.953 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.3166, allocations: 4 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.587e-05/0.3167, allocations: 7.938 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.3167, allocations: 11.98 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3167, allocations: 0 / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.3168, allocations: 130.2 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3168, allocations: 0 / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.3171, allocations: 15.95 kB / 0.5669 GB, free: 14.52 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.001914/0.319, allocations: 1.019 MB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.3192, allocations: 47.97 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3192, allocations: 3.938 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.3193, allocations: 23.98 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.3197, allocations: 15.97 kB / 0.568 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.3215, allocations: 1.469 MB / 0.5694 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.3219, allocations: 0.6962 MB / 0.5701 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.812e-05/0.3219, allocations: 11.77 kB / 0.5701 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.631e-05/0.322, allocations: 27.44 kB / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.322, allocations: 0 / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.3484, allocations: 2.651 MB / 0.5727 GB, free: 8.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/8.621, allocations: 4.562 kB / 0.5727 GB, free: 8.559 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.505392624996603] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.764293428976089 8.786126408 8.470707843 Calling exit ...