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.001298/0.001298, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001524/0.001524, allocations: 216.1 kB / 23.78 MB, free: 4.551 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.386/1.386, allocations: 207.7 MB / 234.6 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.2262/0.2262, allocations: 44.26 MB / 331.1 MB, free: 9.316 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="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.002223/0.002223, allocations: 72.36 kB / 468.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1241, allocations: 61.05 MB / 0.5169 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001806/0.1259, allocations: 0.5026 MB / 0.5174 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006775/0.1327, allocations: 4.705 MB / 0.522 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.1327, allocations: 0 / 0.522 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.143e-05/0.1327, allocations: 0 / 0.522 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.632e-06/0.1328, allocations: 0 / 0.522 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.1339, allocations: 251.2 kB / 0.5222 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.513e-05/0.1339, allocations: 4 kB / 0.5222 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.134, allocations: 0 / 0.5222 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.323e-05/0.134, allocations: 7.938 kB / 0.5222 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.922e-05/0.134, allocations: 0 / 0.5222 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.134, allocations: 3.984 kB / 0.5222 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008256/0.1348, allocations: 459.1 kB / 0.5227 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.297e-06/0.1349, allocations: 0 / 0.5227 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.1349, allocations: 0 / 0.5227 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004944/0.1354, allocations: 311.5 kB / 0.523 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.1354, allocations: 3.984 kB / 0.523 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1354, allocations: 0 / 0.523 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1354, allocations: 7.938 kB / 0.523 GB, free: 0.9336 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.0004743/0.1359, allocations: 311.6 kB / 0.5233 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1359, allocations: 12.03 kB / 0.5233 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.468e-05/0.1359, allocations: 192 / 0.5233 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.935e-05/0.136, allocations: 34.69 kB / 0.5233 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.136, allocations: 0.9375 kB / 0.5233 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.1361, allocations: 106.5 kB / 0.5234 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1361, allocations: 4.375 kB / 0.5234 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.1361, allocations: 4.125 kB / 0.5234 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.1362, allocations: 51.41 kB / 0.5235 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1362, allocations: 8 kB / 0.5235 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.1362, allocations: 0 / 0.5235 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1363, allocations: 0 / 0.5235 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.342e-05/0.1363, allocations: 29.64 kB / 0.5235 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.1364, allocations: 124.8 kB / 0.5236 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.6e-05/0.1365, allocations: 40.28 kB / 0.5237 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/0.1365, allocations: 38.59 kB / 0.5237 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.1365, allocations: 0 / 0.5237 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.191e-05/0.1366, allocations: 60.27 kB / 0.5238 GB, free: 15.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1366, allocations: 0 / 0.5238 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002092/0.1368, allocations: 122.7 kB / 0.5239 GB, free: 15.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/0.1369, allocations: 81.11 kB / 0.524 GB, free: 15.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.308e-05/0.1369, allocations: 89.86 kB / 0.5241 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.137, allocations: 25.7 kB / 0.5241 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.137, allocations: 80.14 kB / 0.5242 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.137, allocations: 4 kB / 0.5242 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.137, allocations: 13.72 kB / 0.5242 GB, free: 15.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1372, allocations: 310.8 kB / 0.5245 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/0.1372, allocations: 29.69 kB / 0.5245 GB, free: 15.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.593e-05/0.1372, allocations: 29.7 kB / 0.5245 GB, free: 15.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.862e-05/0.1373, allocations: 68.45 kB / 0.5246 GB, free: 15.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1373, allocations: 0 / 0.5246 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000102/0.1374, allocations: 92.97 kB / 0.5247 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.1374, allocations: 33.7 kB / 0.5247 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1374, allocations: 0 / 0.5247 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1375, allocations: 0 / 0.5247 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.1375, allocations: 0 / 0.5247 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1375, allocations: 0 / 0.5247 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.991e-05/0.1375, allocations: 8 kB / 0.5247 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.1375, allocations: 0 / 0.5247 GB, free: 14.86 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.803e-05/0.1376, allocations: 139.5 kB / 0.5249 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.1376, allocations: 11.94 kB / 0.5249 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.313e-05/0.1376, allocations: 10.92 kB / 0.5249 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.1376, allocations: 0 / 0.5249 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1376, allocations: 0 / 0.5249 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-06/0.1376, allocations: 0 / 0.5249 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.83e-05/0.1377, allocations: 116.8 kB / 0.525 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1377, allocations: 3.938 kB / 0.525 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.1377, allocations: 0 / 0.525 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-06/0.1377, allocations: 0 / 0.525 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-06/0.1377, allocations: 4 kB / 0.525 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1377, allocations: 0 / 0.525 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1377, allocations: 0 / 0.525 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.1378, allocations: 120.5 kB / 0.5251 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-06/0.1378, allocations: 7.938 kB / 0.5251 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1379, allocations: 3.984 kB / 0.5251 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.537e-06/0.1379, allocations: 3.984 kB / 0.5251 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.1379, allocations: 3.984 kB / 0.5251 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1379, allocations: 4 kB / 0.5251 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.091e-05/0.1379, allocations: 75.28 kB / 0.5252 GB, free: 14.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1379, allocations: 4.031 kB / 0.5252 GB, free: 14.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.1382, allocations: 67.8 kB / 0.5253 GB, free: 14.2 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.0008222/0.139, allocations: 0.7334 MB / 0.526 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.1392, allocations: 114.8 kB / 0.5261 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1392, allocations: 4.031 kB / 0.5261 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.127e-05/0.1392, allocations: 89.11 kB / 0.5262 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.1394, allocations: 4 kB / 0.5262 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.1397, allocations: 156.2 kB / 0.5263 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.905e-05/0.1398, allocations: 59.3 kB / 0.5264 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.252e-06/0.1398, allocations: 3.938 kB / 0.5264 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.575e-05/0.1398, allocations: 7.438 kB / 0.5264 GB, free: 12.89 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1398, allocations: 0 / 0.5264 GB, free: 12.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.1616, allocations: 2.716 MB / 0.5291 GB, free: 10.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.64, allocations: 3.984 kB / 0.5291 GB, free: 10.17 MB / 414.1 MB " [Timeout remaining time 648] (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.705625841976143] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.811088640009984 12.085291781 11.946432426 Calling exit ...