Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.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.001811/0.001811, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.002332/0.002332, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.409/1.409, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.93 MB / 360.8 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Math.TestPolynomials,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002451/0.002451, allocations: 80.19 kB / 0.4962 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3336, allocations: 66.09 MB / 0.5607 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001758/0.3353, allocations: 497 kB / 0.5612 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.338, allocations: 1.812 MB / 0.563 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.744e-05/0.338, allocations: 4 kB / 0.563 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.3381, allocations: 0 / 0.563 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.472e-06/0.3381, allocations: 0 / 0.563 GB, free: 1.988 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:120:3-169:18:writable] Warning: Pure function 'ModelicaTest.Math.Polynomials' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.3391, allocations: 262.1 kB / 0.5632 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.982e-05/0.3392, allocations: 11.92 kB / 0.5632 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.3392, allocations: 7.938 kB / 0.5632 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.922e-05/0.3392, allocations: 0 / 0.5632 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.744e-05/0.3393, allocations: 4 kB / 0.5632 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.5e-06/0.3393, allocations: 0 / 0.5632 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008229/0.3401, allocations: 0.5029 MB / 0.5637 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.665e-06/0.3401, allocations: 0 / 0.5637 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.3401, allocations: 0 / 0.5637 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000468/0.3406, allocations: 317 kB / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3406, allocations: 0 / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3406, allocations: 0 / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3406, allocations: 0 / 0.564 GB, free: 0.8984 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003972/0.341, allocations: 315.6 kB / 0.5643 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.341, allocations: 8.031 kB / 0.5643 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.3411, allocations: 38.73 kB / 0.5644 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.3411, allocations: 0.9375 kB / 0.5644 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.027e-05/0.3412, allocations: 102.5 kB / 0.5645 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3412, allocations: 384 / 0.5645 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-06/0.3412, allocations: 384 / 0.5645 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.253e-05/0.3413, allocations: 38.84 kB / 0.5645 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3413, allocations: 0 / 0.5645 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-06/0.3413, allocations: 4 kB / 0.5645 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3413, allocations: 0 / 0.5645 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.808e-05/0.3413, allocations: 4 kB / 0.5645 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000123/0.3414, allocations: 120.7 kB / 0.5646 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.082e-05/0.3415, allocations: 14.58 kB / 0.5647 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.881e-05/0.3415, allocations: 12.95 kB / 0.5647 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.3415, allocations: 0 / 0.5647 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/0.3416, allocations: 68.14 kB / 0.5647 GB, free: 44 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.3416, allocations: 0 / 0.5647 GB, free: 44 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001809/0.3417, allocations: 67.33 kB / 0.5648 GB, free: 15.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.3418, allocations: 77.11 kB / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.828e-05/0.3419, allocations: 93.81 kB / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.3419, allocations: 29.7 kB / 0.565 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.3419, allocations: 84.14 kB / 0.5651 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.3419, allocations: 0 / 0.5651 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.342, allocations: 17.84 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3421, allocations: 314.8 kB / 0.5654 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.868e-06/0.3421, allocations: 0 / 0.5654 GB, free: 15.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-06/0.3421, allocations: 3.984 kB / 0.5654 GB, free: 15.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.358e-05/0.3422, allocations: 60.27 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3422, allocations: 0 / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001266/0.3423, allocations: 67.34 kB / 0.5655 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.3423, allocations: 37.58 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3423, allocations: 4.094 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3424, allocations: 3.984 kB / 0.5656 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.3424, allocations: 0 / 0.5656 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.3424, allocations: 0 / 0.5656 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.409e-05/0.3424, allocations: 4 kB / 0.5656 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.3424, allocations: 0 / 0.5656 GB, free: 15.1 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.882e-05/0.3425, allocations: 132.9 kB / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.3425, allocations: 7.938 kB / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.031e-05/0.3425, allocations: 3 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.3425, allocations: 4 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.3425, allocations: 4 kB / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.3425, allocations: 0 / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.586e-05/0.3426, allocations: 124.8 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.3426, allocations: 0 / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-07/0.3426, allocations: 0 / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3426, allocations: 7.922 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.3426, allocations: 0 / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.3426, allocations: 0 / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3426, allocations: 0 / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.3427, allocations: 102.8 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-06/0.3427, allocations: 7.875 kB / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.3427, allocations: 4 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.116e-06/0.3427, allocations: 0 / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-06/0.3428, allocations: 0 / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.3428, allocations: 0 / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.219e-05/0.3428, allocations: 75.28 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3428, allocations: 32 / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.3431, allocations: 75.8 kB / 0.5661 GB, free: 14.48 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000789/0.3439, allocations: 0.7055 MB / 0.5668 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.461e-05/0.344, allocations: 63.34 kB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.344, allocations: 0 / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.788e-05/0.344, allocations: 59.39 kB / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.3441, allocations: 3.938 kB / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.3444, allocations: 138.5 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.3447, allocations: 0.669 MB / 0.5677 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.254e-06/0.3447, allocations: 8.125 kB / 0.5677 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.265e-05/0.3447, allocations: 7.438 kB / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3447, allocations: 0 / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.3722, allocations: 2.586 MB / 0.5702 GB, free: 10.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.46, allocations: 3.938 kB / 0.5702 GB, free: 10.21 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestPolynomials_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestPolynomials.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.213224482024089] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.565285556018353 11.589556108 11.243544684 Calling exit ...