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.001245/0.001245, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.001379/0.001379, allocations: 212.3 kB / 24.51 MB, free: 3.914 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.383/1.383, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.2145/0.2145, allocations: 46.98 MB / 361.7 MB, free: 4.012 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestPolynomials",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 55.91 kB / 0.4969 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3015, allocations: 66.03 MB / 0.5613 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001849/0.3034, allocations: 496.1 kB / 0.5618 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002898/0.3063, allocations: 1.727 MB / 0.5635 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.604e-05/0.3063, allocations: 0 / 0.5635 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.3063, allocations: 4 kB / 0.5635 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.472e-06/0.3063, allocations: 0 / 0.5635 GB, free: 2.008 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.001099/0.3074, allocations: 255.2 kB / 0.5637 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.415e-05/0.3075, allocations: 3.938 kB / 0.5637 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.3075, allocations: 0 / 0.5637 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.061e-05/0.3075, allocations: 11.98 kB / 0.5638 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.619e-05/0.3075, allocations: 0 / 0.5638 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.461e-06/0.3076, allocations: 3.938 kB / 0.5638 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000843/0.3084, allocations: 459.1 kB / 0.5642 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.728e-06/0.3084, allocations: 3.984 kB / 0.5642 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.3084, allocations: 0 / 0.5642 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005667/0.309, allocations: 305.1 kB / 0.5645 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.309, allocations: 3.938 kB / 0.5645 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.309, allocations: 0 / 0.5645 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.309, allocations: 0 / 0.5645 GB, free: 0.9844 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.0004356/0.3094, allocations: 315.7 kB / 0.5648 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3095, allocations: 8.031 kB / 0.5648 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.583e-05/0.3095, allocations: 4.188 kB / 0.5648 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.987e-05/0.3095, allocations: 30.75 kB / 0.5648 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.3095, allocations: 0.9375 kB / 0.5648 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.352e-05/0.3096, allocations: 103.6 kB / 0.5649 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.3096, allocations: 384 / 0.5649 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.3096, allocations: 4.375 kB / 0.5649 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.3098, allocations: 59.33 kB / 0.565 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3098, allocations: 0 / 0.565 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.3098, allocations: 4 kB / 0.565 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3098, allocations: 7.938 kB / 0.565 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.536e-05/0.3098, allocations: 25.7 kB / 0.565 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.3099, allocations: 120.8 kB / 0.5652 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.809e-05/0.31, allocations: 48.25 kB / 0.5652 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.31, allocations: 34.66 kB / 0.5652 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.3101, allocations: 3.938 kB / 0.5652 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/0.3101, allocations: 56.27 kB / 0.5653 GB, free: 8 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3101, allocations: 3.938 kB / 0.5653 GB, free: 4 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002333/0.3103, allocations: 122.7 kB / 0.5654 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.3104, allocations: 85.23 kB / 0.5655 GB, free: 15.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.03e-05/0.3104, allocations: 93.81 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3105, allocations: 25.7 kB / 0.5656 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.3105, allocations: 84.12 kB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.3105, allocations: 0 / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.3106, allocations: 21.72 kB / 0.5657 GB, free: 15.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3107, allocations: 310.8 kB / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.826e-05/0.3107, allocations: 25.7 kB / 0.566 GB, free: 15.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.441e-05/0.3108, allocations: 33.69 kB / 0.5661 GB, free: 15.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.351e-05/0.3108, allocations: 64.2 kB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3108, allocations: 4.062 kB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.736e-05/0.3109, allocations: 89.05 kB / 0.5662 GB, free: 14.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.3109, allocations: 37.69 kB / 0.5662 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3109, allocations: 0 / 0.5662 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.311, allocations: 3.938 kB / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.833e-06/0.311, allocations: 0 / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.311, allocations: 3.984 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.311, allocations: 0 / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.311, allocations: 4 kB / 0.5663 GB, free: 14.89 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 9.199e-05/0.3111, allocations: 131.5 kB / 0.5664 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.3111, allocations: 11.97 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.588e-05/0.3111, allocations: 7 kB / 0.5664 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3111, allocations: 3.984 kB / 0.5664 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3111, allocations: 0 / 0.5664 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3111, allocations: 0 / 0.5664 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.727e-05/0.3112, allocations: 112.8 kB / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3112, allocations: 8 kB / 0.5665 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-06/0.3112, allocations: 3.938 kB / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3112, allocations: 0 / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.3113, allocations: 0 / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.3113, allocations: 0 / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3113, allocations: 7.938 kB / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.3114, allocations: 116.5 kB / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-06/0.3114, allocations: 7.938 kB / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.3114, allocations: 3.938 kB / 0.5667 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.188e-05/0.3114, allocations: 3.984 kB / 0.5667 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.114e-05/0.3114, allocations: 0 / 0.5667 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.3114, allocations: 0 / 0.5667 GB, free: 14.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.371e-05/0.3115, allocations: 79.28 kB / 0.5667 GB, free: 14.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3115, allocations: 0 / 0.5667 GB, free: 14.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003351/0.3118, allocations: 67.8 kB / 0.5668 GB, free: 14.24 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.0008176/0.3126, allocations: 0.7446 MB / 0.5675 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.3127, allocations: 114.7 kB / 0.5676 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3127, allocations: 0 / 0.5676 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.946e-05/0.3128, allocations: 85.2 kB / 0.5677 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.313, allocations: 8 kB / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.3133, allocations: 160.2 kB / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.799e-05/0.3134, allocations: 59.3 kB / 0.5679 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.718e-06/0.3134, allocations: 0 / 0.5679 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.3134, allocations: 11.38 kB / 0.5679 GB, free: 12.93 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3134, allocations: 0 / 0.5679 GB, free: 12.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.3349, allocations: 2.656 MB / 0.5705 GB, free: 10.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.31, allocations: 8.047 kB / 0.5705 GB, free: 10.4 MB / 414.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestPolynomials_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.02789061900694] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.46883828600403 11.484633876 11.172508579 Calling exit ...