Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002582/0.002582, allocations: 212.2 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2296/0.2296, allocations: 46.97 MB / 360.9 MB, free: 4.035 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 63.89 kB / 0.4961 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3162, allocations: 66.04 MB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001901/0.3181, allocations: 0.4931 MB / 0.5611 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.3208, allocations: 1.719 MB / 0.5627 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.51e-05/0.3208, allocations: 7.938 kB / 0.5627 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.211e-05/0.3208, allocations: 7.938 kB / 0.5628 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.462e-06/0.3208, allocations: 0 / 0.5628 GB, free: 2 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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.001063/0.3219, allocations: 246.8 kB / 0.563 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.487e-05/0.322, allocations: 4 kB / 0.563 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.322, allocations: 0 / 0.563 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.472e-05/0.322, allocations: 8 kB / 0.563 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.742e-05/0.322, allocations: 0 / 0.563 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.671e-06/0.3221, allocations: 0 / 0.563 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008138/0.3229, allocations: 451.1 kB / 0.5634 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.3229, allocations: 0 / 0.5634 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.676e-05/0.3229, allocations: 0 / 0.5634 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004845/0.3234, allocations: 313 kB / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3234, allocations: 0 / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3234, allocations: 0 / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3234, allocations: 0 / 0.5637 GB, free: 1.004 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.0004264/0.3238, allocations: 307.7 kB / 0.564 GB, free: 0.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3239, allocations: 12.03 kB / 0.564 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.3239, allocations: 42.69 kB / 0.5641 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.3239, allocations: 0.9375 kB / 0.5641 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.663e-05/0.324, allocations: 102.5 kB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.324, allocations: 384 / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.324, allocations: 384 / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.3242, allocations: 60.55 kB / 0.5642 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3242, allocations: 0 / 0.5642 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.3242, allocations: 0 / 0.5642 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3242, allocations: 3.984 kB / 0.5642 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.872e-05/0.3242, allocations: 29.7 kB / 0.5643 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.3244, allocations: 124.7 kB / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.689e-05/0.3245, allocations: 48.25 kB / 0.5644 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.296e-05/0.3245, allocations: 30.56 kB / 0.5645 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.415e-06/0.3245, allocations: 64 / 0.5645 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.815e-05/0.3246, allocations: 68.19 kB / 0.5645 GB, free: 24 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.3246, allocations: 0 / 0.5645 GB, free: 24 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002435/0.3248, allocations: 114.8 kB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.3249, allocations: 84.98 kB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.007e-05/0.3249, allocations: 97.8 kB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.325, allocations: 33.83 kB / 0.5648 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.325, allocations: 80.14 kB / 0.5649 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.325, allocations: 0 / 0.5649 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.3251, allocations: 17.72 kB / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3252, allocations: 314.8 kB / 0.5652 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.547e-05/0.3252, allocations: 25.7 kB / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.803e-05/0.3253, allocations: 25.7 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.53e-05/0.3253, allocations: 60.27 kB / 0.5653 GB, free: 15.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3253, allocations: 0 / 0.5653 GB, free: 15.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.565e-05/0.3254, allocations: 93.16 kB / 0.5654 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.338e-05/0.3255, allocations: 41.67 kB / 0.5655 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3255, allocations: 3.938 kB / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3255, allocations: 0 / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.899e-06/0.3255, allocations: 4 kB / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3255, allocations: 0 / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.3255, allocations: 0 / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.3255, allocations: 3.984 kB / 0.5655 GB, free: 14.91 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 0.0001045/0.3256, allocations: 135.5 kB / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.3256, allocations: 3.938 kB / 0.5656 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.211e-05/0.3257, allocations: 3 kB / 0.5656 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3257, allocations: 8 kB / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3257, allocations: 0 / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.3257, allocations: 0 / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.3258, allocations: 120.8 kB / 0.5657 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3258, allocations: 0 / 0.5657 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.3258, allocations: 0 / 0.5657 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.3258, allocations: 7.938 kB / 0.5657 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.3258, allocations: 3.938 kB / 0.5657 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.3258, allocations: 0 / 0.5657 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3258, allocations: 0 / 0.5657 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.3259, allocations: 128.5 kB / 0.5659 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-06/0.326, allocations: 3.938 kB / 0.5659 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.326, allocations: 4 kB / 0.5659 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-06/0.326, allocations: 0 / 0.5659 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.326, allocations: 0 / 0.5659 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-06/0.326, allocations: 0 / 0.5659 GB, free: 14.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.768e-05/0.326, allocations: 75.28 kB / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.326, allocations: 0 / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003208/0.3264, allocations: 71.8 kB / 0.566 GB, free: 14.27 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.0008847/0.3272, allocations: 0.7441 MB / 0.5667 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.3274, allocations: 110.8 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3274, allocations: 0 / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.119e-05/0.3275, allocations: 85.09 kB / 0.5669 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.3276, allocations: 7.938 kB / 0.5669 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.328, allocations: 164.3 kB / 0.5671 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.073e-05/0.328, allocations: 55.36 kB / 0.5671 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.302e-06/0.328, allocations: 0 / 0.5671 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.3281, allocations: 7.438 kB / 0.5672 GB, free: 12.96 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3281, allocations: 0 / 0.5672 GB, free: 12.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.3563, allocations: 2.998 MB / 0.5701 GB, free: 10.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.73, allocations: 10.25 kB / 0.5701 GB, free: 10.09 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_1_0_ModelicaTest_Math_TestPolynomials.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.683276779018342] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.836254962719977 11.8611434 11.532685103 Calling exit ...