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.001713/0.001713, allocations: 107.5 kB / 19.69 MB, free: 2.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.002167/0.002167, allocations: 227.3 kB / 23.01 MB, free: 5.039 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.42/1.42, allocations: 207.6 MB / 233.8 MB, free: 9.984 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.2224/0.2224, allocations: 44.24 MB / 330.3 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 179] 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.002233/0.002233, allocations: 67.91 kB / 467.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1264, allocations: 61.04 MB / 0.5161 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001909/0.1283, allocations: 0.5018 MB / 0.5166 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007366/0.1357, allocations: 5.142 MB / 0.5216 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.059e-05/0.1357, allocations: 0 / 0.5216 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.1357, allocations: 0 / 0.5216 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.803e-06/0.1357, allocations: 0 / 0.5216 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.1369, allocations: 259.2 kB / 0.5219 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.009e-05/0.137, allocations: 7.938 kB / 0.5219 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.137, allocations: 0 / 0.5219 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.437e-05/0.137, allocations: 0 / 0.5219 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.871e-05/0.137, allocations: 4 kB / 0.5219 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-06/0.137, allocations: 0 / 0.5219 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009715/0.138, allocations: 0.5068 MB / 0.5224 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.067e-06/0.138, allocations: 0 / 0.5224 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.138, allocations: 3.984 kB / 0.5224 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000697/0.1387, allocations: 319.4 kB / 0.5227 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1387, allocations: 0 / 0.5227 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1387, allocations: 0 / 0.5227 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1388, allocations: 0 / 0.5227 GB, free: 0.5703 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.0004473/0.1392, allocations: 311.6 kB / 0.523 GB, free: 236 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1392, allocations: 8.031 kB / 0.523 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.1393, allocations: 38.75 kB / 0.523 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.289e-05/0.1393, allocations: 4.938 kB / 0.523 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.188e-05/0.1394, allocations: 102.5 kB / 0.5231 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1394, allocations: 384 / 0.5231 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.1394, allocations: 384 / 0.5231 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.1396, allocations: 45.75 kB / 0.5232 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1396, allocations: 0 / 0.5232 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.1396, allocations: 0 / 0.5232 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1396, allocations: 0 / 0.5232 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.304e-05/0.1396, allocations: 7.938 kB / 0.5232 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.1397, allocations: 120.8 kB / 0.5233 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.514e-05/0.1398, allocations: 14.67 kB / 0.5233 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.1398, allocations: 12.84 kB / 0.5233 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-06/0.1398, allocations: 0 / 0.5233 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.475e-05/0.1399, allocations: 64.14 kB / 0.5234 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1399, allocations: 0 / 0.5234 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001905/0.1401, allocations: 67.44 kB / 0.5235 GB, free: 15.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.1401, allocations: 81.14 kB / 0.5235 GB, free: 15.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.109e-05/0.1402, allocations: 93.84 kB / 0.5236 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1402, allocations: 29.7 kB / 0.5237 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.1402, allocations: 80.14 kB / 0.5237 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.1403, allocations: 0 / 0.5237 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.1403, allocations: 9.719 kB / 0.5237 GB, free: 15.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1404, allocations: 314.8 kB / 0.524 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-06/0.1405, allocations: 0 / 0.524 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-06/0.1405, allocations: 4 kB / 0.524 GB, free: 14.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.79e-05/0.1405, allocations: 64.27 kB / 0.5241 GB, free: 14.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1405, allocations: 0 / 0.5241 GB, free: 14.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.121e-05/0.1406, allocations: 67.33 kB / 0.5242 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.1406, allocations: 33.64 kB / 0.5242 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1406, allocations: 0 / 0.5242 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1407, allocations: 0 / 0.5242 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.1407, allocations: 0 / 0.5242 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1407, allocations: 96 / 0.5242 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.356e-05/0.1407, allocations: 8 kB / 0.5242 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.1407, allocations: 0 / 0.5242 GB, free: 14.77 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.0001062/0.1408, allocations: 139.5 kB / 0.5243 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.1408, allocations: 7.938 kB / 0.5244 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.22e-05/0.1408, allocations: 3 kB / 0.5244 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1408, allocations: 0 / 0.5244 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1408, allocations: 0 / 0.5244 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.1408, allocations: 0 / 0.5244 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.1409, allocations: 120.8 kB / 0.5245 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1409, allocations: 7.984 kB / 0.5245 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-07/0.1409, allocations: 0 / 0.5245 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1409, allocations: 3.938 kB / 0.5245 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1409, allocations: 4 kB / 0.5245 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1409, allocations: 3.938 kB / 0.5245 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1409, allocations: 0 / 0.5245 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.141, allocations: 94.77 kB / 0.5246 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-06/0.1411, allocations: 11.91 kB / 0.5246 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.1411, allocations: 4 kB / 0.5246 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-06/0.1411, allocations: 0 / 0.5246 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.034e-05/0.1411, allocations: 0 / 0.5246 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-06/0.1411, allocations: 0 / 0.5246 GB, free: 14.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.177e-05/0.1411, allocations: 75.28 kB / 0.5247 GB, free: 14.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1411, allocations: 0 / 0.5247 GB, free: 14.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003471/0.1415, allocations: 71.8 kB / 0.5247 GB, free: 14.15 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.0008825/0.1424, allocations: 0.7201 MB / 0.5254 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.533e-05/0.1425, allocations: 55.41 kB / 0.5255 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.1425, allocations: 4.094 kB / 0.5255 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.308e-05/0.1425, allocations: 55.41 kB / 0.5256 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.0001235/0.1426, allocations: 4 kB / 0.5256 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.143, allocations: 130.5 kB / 0.5257 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.1433, allocations: 0.6768 MB / 0.5263 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.48e-06/0.1433, allocations: 0 / 0.5263 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.496e-05/0.1433, allocations: 7.438 kB / 0.5263 GB, free: 12.38 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1433, allocations: 0 / 0.5263 GB, free: 12.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.1746, allocations: 2.647 MB / 0.5289 GB, free: 9.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/10.95, allocations: 1.156 kB / 0.5289 GB, free: 9.73 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: 13.978220570133999] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.050427553942427 11.277349611 11.13589321 Calling exit ...