Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00192/0.00192, allocations: 120.3 kB / 17.84 MB, free: 5.203 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.002287/0.002287, allocations: 211.9 kB / 20.8 MB, free: 2.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 207.6 MB / 231.2 MB, free: 4.129 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3448/0.3448, allocations: 44.23 MB / 327.3 MB, free: 6.688 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Math_TestPolynomials",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestPolynomials",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 63.91 kB / 462.9 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2962, allocations: 60.99 MB / 0.5116 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001844/0.298, allocations: 0.5118 MB / 0.5121 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005841/0.3038, allocations: 5.1 MB / 0.5171 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.32e-05/0.3039, allocations: 0 / 0.5171 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.304e-05/0.3039, allocations: 1.375 kB / 0.5171 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.722e-06/0.3039, allocations: 0 / 0.5171 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.3051, allocations: 237.5 kB / 0.5173 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.341e-05/0.3052, allocations: 1.375 kB / 0.5173 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.733e-05/0.3052, allocations: 4 kB / 0.5173 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.816e-05/0.3052, allocations: 1.375 kB / 0.5173 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.902e-05/0.3053, allocations: 1.375 kB / 0.5173 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.782e-06/0.3053, allocations: 0 / 0.5173 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000686/0.3059, allocations: 432.4 kB / 0.5177 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.306, allocations: 1.344 kB / 0.5177 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.306, allocations: 4 kB / 0.5177 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005056/0.3065, allocations: 313.8 kB / 0.518 GB, free: 8.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3065, allocations: 0 / 0.518 GB, free: 8.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3065, allocations: 1.562 kB / 0.518 GB, free: 8.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3065, allocations: 0 / 0.518 GB, free: 8.199 MB / 382.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.0003592/0.3068, allocations: 384.7 kB / 0.5184 GB, free: 7.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3069, allocations: 13.52 kB / 0.5184 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.762e-05/0.3069, allocations: 192 / 0.5184 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.546e-05/0.3069, allocations: 34.73 kB / 0.5185 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.32e-05/0.3069, allocations: 6.344 kB / 0.5185 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.336e-05/0.307, allocations: 160.4 kB / 0.5186 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.307, allocations: 5.719 kB / 0.5186 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.307, allocations: 4.125 kB / 0.5186 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.594e-05/0.3071, allocations: 28.48 kB / 0.5187 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3071, allocations: 0 / 0.5187 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3071, allocations: 0 / 0.5187 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3071, allocations: 1.406 kB / 0.5187 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.845e-05/0.3071, allocations: 5.344 kB / 0.5187 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.776e-05/0.3072, allocations: 155 kB / 0.5188 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.038e-05/0.3073, allocations: 15.98 kB / 0.5188 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.35e-05/0.3073, allocations: 10.23 kB / 0.5188 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.3073, allocations: 0 / 0.5188 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.3073, allocations: 57.67 kB / 0.5189 GB, free: 7.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.3073, allocations: 0 / 0.5189 GB, free: 7.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000174/0.3075, allocations: 75.55 kB / 0.519 GB, free: 7.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.3075, allocations: 77.11 kB / 0.519 GB, free: 7.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.757e-05/0.3075, allocations: 89.86 kB / 0.5191 GB, free: 6.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.011e-06/0.3076, allocations: 26.98 kB / 0.5191 GB, free: 6.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.949e-06/0.3076, allocations: 80.14 kB / 0.5192 GB, free: 6.809 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.3076, allocations: 1.375 kB / 0.5192 GB, free: 6.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.3076, allocations: 11.81 kB / 0.5192 GB, free: 6.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.177e-05/0.3076, allocations: 310.8 kB / 0.5195 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.3077, allocations: 9.484 kB / 0.5195 GB, free: 6.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-06/0.3077, allocations: 1.5 kB / 0.5195 GB, free: 6.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.443e-05/0.3077, allocations: 62.83 kB / 0.5196 GB, free: 6.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3077, allocations: 3.938 kB / 0.5196 GB, free: 6.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.385e-05/0.3078, allocations: 66.12 kB / 0.5197 GB, free: 6.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.3078, allocations: 35.75 kB / 0.5197 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3078, allocations: 0 / 0.5197 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3078, allocations: 1 kB / 0.5197 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.3078, allocations: 0 / 0.5197 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.3078, allocations: 5.719 kB / 0.5197 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/0.3078, allocations: 3.938 kB / 0.5197 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3078, allocations: 5.625 kB / 0.5197 GB, free: 6.277 MB / 382.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 4.73e-05/0.3079, allocations: 136.5 kB / 0.5199 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.816e-06/0.3079, allocations: 5.656 kB / 0.5199 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.474e-06/0.3079, allocations: 3.125 kB / 0.5199 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.3079, allocations: 3.938 kB / 0.5199 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3079, allocations: 1.406 kB / 0.5199 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.3079, allocations: 0 / 0.5199 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.943e-05/0.3079, allocations: 151.2 kB / 0.52 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3079, allocations: 3.938 kB / 0.52 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-06/0.308, allocations: 1.094 kB / 0.52 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.308, allocations: 0 / 0.52 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.308, allocations: 1.219 kB / 0.52 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.308, allocations: 0 / 0.52 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.308, allocations: 3.938 kB / 0.52 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.876e-05/0.308, allocations: 94.7 kB / 0.5201 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.308, allocations: 81.05 kB / 0.5202 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.3081, allocations: 1.375 kB / 0.5202 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.528e-05/0.3081, allocations: 0 / 0.5202 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.109e-05/0.3081, allocations: 5.672 kB / 0.5202 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-06/0.3081, allocations: 0 / 0.5202 GB, free: 5.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.183e-05/0.3081, allocations: 76.91 kB / 0.5203 GB, free: 5.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3081, allocations: 0 / 0.5203 GB, free: 5.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003737/0.3085, allocations: 64.69 kB / 0.5203 GB, free: 5.621 MB / 382.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.000592/0.3091, allocations: 0.7237 MB / 0.521 GB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.564e-05/0.3092, allocations: 63.42 kB / 0.5211 GB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3092, allocations: 0 / 0.5211 GB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.713e-05/0.3092, allocations: 55.41 kB / 0.5211 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.3093, allocations: 2.5 kB / 0.5212 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.3096, allocations: 138.4 kB / 0.5213 GB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.424e-05/0.3097, allocations: 0.6729 MB / 0.5219 GB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.521e-06/0.3097, allocations: 0 / 0.5219 GB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.021e-05/0.3097, allocations: 7.438 kB / 0.5219 GB, free: 3.867 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3097, allocations: 3.938 kB / 0.522 GB, free: 3.863 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.3284, allocations: 2.558 MB / 0.5244 GB, free: 1.305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.288/8.616, allocations: 12.59 kB / 0.5245 GB, free: 1.293 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestPolynomials_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestPolynomials.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.42709052801365] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.769320239021908 8.794780861 8.483806813 Calling exit ...