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.002086/0.002086, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002741/0.002741, allocations: 213.5 kB / 22.99 MB, free: 4.605 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.461/1.461, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.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.2234/0.2234, allocations: 44.26 MB / 330.3 MB, free: 9.414 MB / 270.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestPolynomials",fmuType="me",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.002486/0.002486, allocations: 69.45 kB / 467.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1255, allocations: 61.04 MB / 0.5161 GB, free: 7.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.00235/0.1279, allocations: 0.5103 MB / 0.5166 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007495/0.1353, allocations: 4.706 MB / 0.5212 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.845e-05/0.1354, allocations: 0 / 0.5212 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.855e-05/0.1354, allocations: 3.938 kB / 0.5212 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.192e-06/0.1354, allocations: 4 kB / 0.5212 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.1365, allocations: 247.3 kB / 0.5215 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.941e-05/0.1366, allocations: 4 kB / 0.5215 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.475e-05/0.1366, allocations: 4 kB / 0.5215 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.338e-05/0.1366, allocations: 0 / 0.5215 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.893e-05/0.1366, allocations: 4 kB / 0.5215 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.801e-06/0.1367, allocations: 4 kB / 0.5215 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009067/0.1376, allocations: 447.1 kB / 0.5219 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.1376, allocations: 4 kB / 0.5219 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.1376, allocations: 0 / 0.5219 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006407/0.1382, allocations: 303.5 kB / 0.5222 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1382, allocations: 3.938 kB / 0.5222 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1382, allocations: 0 / 0.5222 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.1382, allocations: 4 kB / 0.5222 GB, free: 0.957 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.0005146/0.1388, allocations: 315.6 kB / 0.5225 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1388, allocations: 12.03 kB / 0.5225 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.1388, allocations: 30.75 kB / 0.5226 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.1389, allocations: 0.9375 kB / 0.5226 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.139, allocations: 114.5 kB / 0.5227 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.139, allocations: 384 / 0.5227 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.812e-06/0.139, allocations: 384 / 0.5227 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.1391, allocations: 63.28 kB / 0.5227 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1391, allocations: 0 / 0.5227 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.1391, allocations: 0 / 0.5227 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1391, allocations: 3.984 kB / 0.5227 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.877e-05/0.1392, allocations: 29.7 kB / 0.5228 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.1393, allocations: 116.8 kB / 0.5229 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.208e-05/0.1394, allocations: 52.25 kB / 0.5229 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.1394, allocations: 30.56 kB / 0.5229 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-06/0.1394, allocations: 3.938 kB / 0.5229 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.316e-05/0.1395, allocations: 64.31 kB / 0.523 GB, free: 15.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.1395, allocations: 0 / 0.523 GB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002239/0.1398, allocations: 114.8 kB / 0.5231 GB, free: 15.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.1398, allocations: 77.11 kB / 0.5232 GB, free: 15.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.809e-05/0.1399, allocations: 97.78 kB / 0.5233 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1399, allocations: 25.83 kB / 0.5233 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.1399, allocations: 84.14 kB / 0.5234 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.14, allocations: 4 kB / 0.5234 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.14, allocations: 9.719 kB / 0.5234 GB, free: 15.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1401, allocations: 314.8 kB / 0.5237 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.712e-05/0.1402, allocations: 29.7 kB / 0.5237 GB, free: 15.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/0.1402, allocations: 25.7 kB / 0.5238 GB, free: 15.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.22e-05/0.1402, allocations: 60.27 kB / 0.5238 GB, free: 15.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1403, allocations: 0 / 0.5238 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001123/0.1404, allocations: 97.12 kB / 0.5239 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.1404, allocations: 33.7 kB / 0.5239 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1404, allocations: 0 / 0.5239 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1404, allocations: 0 / 0.5239 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.1404, allocations: 7.938 kB / 0.5239 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1404, allocations: 0 / 0.5239 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.1404, allocations: 4 kB / 0.524 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1405, allocations: 3.984 kB / 0.524 GB, free: 14.87 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.0001114/0.1406, allocations: 135.5 kB / 0.5241 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.1406, allocations: 7.875 kB / 0.5241 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.451e-05/0.1406, allocations: 3 kB / 0.5241 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1406, allocations: 4 kB / 0.5241 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1406, allocations: 0 / 0.5241 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1406, allocations: 3.938 kB / 0.5241 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.1407, allocations: 124.8 kB / 0.5242 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.1407, allocations: 0 / 0.5242 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.465e-05/0.1407, allocations: 7.922 kB / 0.5242 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1407, allocations: 0 / 0.5242 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.1407, allocations: 0 / 0.5242 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1407, allocations: 4 kB / 0.5242 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1407, allocations: 0 / 0.5242 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.1409, allocations: 120.5 kB / 0.5243 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.1409, allocations: 7.875 kB / 0.5244 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.1409, allocations: 0 / 0.5244 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.084e-05/0.1409, allocations: 0 / 0.5244 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.1409, allocations: 4 kB / 0.5244 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.1409, allocations: 0 / 0.5244 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.792e-05/0.141, allocations: 75.28 kB / 0.5244 GB, free: 14.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.141, allocations: 0 / 0.5244 GB, free: 14.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003542/0.1413, allocations: 67.8 kB / 0.5245 GB, free: 14.22 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.0008609/0.1422, allocations: 0.7403 MB / 0.5252 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.1423, allocations: 122.8 kB / 0.5253 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1423, allocations: 0 / 0.5253 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.741e-05/0.1424, allocations: 85.09 kB / 0.5254 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.1425, allocations: 0.9375 kB / 0.5254 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.1429, allocations: 156.3 kB / 0.5256 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.821e-05/0.1429, allocations: 63.3 kB / 0.5256 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.07e-06/0.1429, allocations: 0 / 0.5256 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.143, allocations: 7.438 kB / 0.5256 GB, free: 12.91 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.143, allocations: 0 / 0.5256 GB, free: 12.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/0.1738, allocations: 3.054 MB / 0.5286 GB, free: 9.852 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.21, allocations: 7.375 kB / 0.5286 GB, free: 9.848 MB / 414.1 MB " [Timeout remaining time 649] (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: 14.263055180199444] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.32390622003004 11.553574555 11.412361036 Calling exit ...