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.001854/0.001854, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.0023/0.0023, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.46/1.46, allocations: 230.5 MB / 258.2 MB, free: 8.066 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.2463/0.2463, allocations: 46.92 MB / 361.6 MB, free: 4.254 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.002308/0.002308, allocations: 75.88 kB / 0.497 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3247, allocations: 66.09 MB / 0.5615 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.003088/0.3278, allocations: 1.68 MB / 0.5632 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3288, allocations: 0.5499 MB / 0.5637 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.3289, allocations: 0 / 0.5637 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.3291, allocations: 39.78 kB / 0.5637 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.3294, allocations: 87.59 kB / 0.5638 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.3296, allocations: 95.69 kB / 0.5639 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.3298, allocations: 91.77 kB / 0.564 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3299, allocations: 15.98 kB / 0.564 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.161e-05/0.33, allocations: 35.84 kB / 0.5641 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.883e-05/0.3301, allocations: 39.84 kB / 0.5641 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.3301, allocations: 4 kB / 0.5641 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.306e-05/0.3302, allocations: 43.97 kB / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.502e-05/0.3303, allocations: 23.86 kB / 0.5642 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.3303, allocations: 31.81 kB / 0.5642 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.3305, allocations: 123.4 kB / 0.5643 GB, free: 1.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3305, allocations: 0 / 0.5643 GB, free: 1.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3305, allocations: 0 / 0.5643 GB, free: 1.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.3305, allocations: 0 / 0.5643 GB, free: 1.48 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.0004957/0.331, allocations: 329.7 kB / 0.5646 GB, free: 1.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.3311, allocations: 8.031 kB / 0.5646 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.3311, allocations: 38.75 kB / 0.5647 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.3312, allocations: 12.84 kB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.3313, allocations: 154.3 kB / 0.5648 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.3314, allocations: 4.375 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.3314, allocations: 4.375 kB / 0.5648 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3316, allocations: 66.23 kB / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.3316, allocations: 7.938 kB / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3316, allocations: 3.984 kB / 0.5649 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.3316, allocations: 3.938 kB / 0.5649 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.3317, allocations: 39.97 kB / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.3321, allocations: 287.8 kB / 0.5652 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.3323, allocations: 66.53 kB / 0.5653 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.604e-05/0.3323, allocations: 20.84 kB / 0.5653 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.3323, allocations: 4 kB / 0.5653 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.3324, allocations: 34.5 kB / 0.5654 GB, free: 288 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3324, allocations: 4 kB / 0.5654 GB, free: 284 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001019/0.3334, allocations: 289.4 kB / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.3334, allocations: 59.33 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.3336, allocations: 161.8 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.3336, allocations: 33.69 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.3337, allocations: 104 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.3338, allocations: 47.59 kB / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.3338, allocations: 33.64 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.334, allocations: 322.8 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.3341, allocations: 31.98 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.657e-05/0.3342, allocations: 35.97 kB / 0.5664 GB, free: 15.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.3344, allocations: 104.3 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3344, allocations: 0 / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002594/0.3346, allocations: 129.7 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3346, allocations: 7.938 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3346, allocations: 0 / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3347, allocations: 7.938 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3348, allocations: 23.98 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.3348, allocations: 4.703 kB / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.3348, allocations: 7.984 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.3348, allocations: 8 kB / 0.5667 GB, free: 14.84 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.0001078/0.335, allocations: 118.7 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.335, allocations: 19.91 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.3353, allocations: 158.3 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3353, allocations: 4 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.3354, allocations: 4 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3354, allocations: 3.984 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006423/0.336, allocations: 442.1 kB / 0.5674 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.336, allocations: 0 / 0.5674 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.06e-05/0.3361, allocations: 23.98 kB / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3361, allocations: 0 / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3361, allocations: 12.02 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3361, allocations: 3.938 kB / 0.5675 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3361, allocations: 4 kB / 0.5675 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.3364, allocations: 236.2 kB / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.3364, allocations: 11.91 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.3365, allocations: 7.984 kB / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.3365, allocations: 8 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.3366, allocations: 11.98 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.3366, allocations: 4 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.3367, allocations: 130.2 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3367, allocations: 0 / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.337, allocations: 23.98 kB / 0.5679 GB, free: 13.55 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.002192/0.3391, allocations: 1.129 MB / 0.569 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.3394, allocations: 91.88 kB / 0.5691 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3394, allocations: 4 kB / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.3395, allocations: 43.92 kB / 0.5691 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.3399, allocations: 19.98 kB / 0.5691 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.342, allocations: 1.677 MB / 0.5708 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.3423, allocations: 0.7086 MB / 0.5715 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.55e-05/0.3424, allocations: 28.41 kB / 0.5715 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.138e-05/0.3425, allocations: 35.42 kB / 0.5715 GB, free: 9.836 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3425, allocations: 0 / 0.5715 GB, free: 9.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.3694, allocations: 3.283 MB / 0.5747 GB, free: 6.555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/8.474, allocations: 14.97 kB / 0.5747 GB, free: 6.543 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 --stepSize=0.00019992 --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.320247855968773] 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.616008644923568 8.639451978 8.3057137 Calling exit ...