Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.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.001857/0.001857, allocations: 105 kB / 20.48 MB, free: 1.484 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.00242/0.00242, allocations: 215.1 kB / 23.79 MB, free: 4.703 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.517/1.517, allocations: 207.6 MB / 234.6 MB, free: 9.992 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.2271/0.2271, allocations: 44.25 MB / 331.1 MB, free: 9.523 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.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear",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.002208/0.002208, allocations: 67.91 kB / 468.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1333, allocations: 61.04 MB / 0.5169 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001778/0.1351, allocations: 0.5017 MB / 0.5174 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003484/0.1385, allocations: 2.259 MB / 0.5196 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-06/0.1386, allocations: 0 / 0.5196 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.566e-06/0.1386, allocations: 0 / 0.5196 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.202e-06/0.1386, allocations: 0 / 0.5196 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.1407, allocations: 0.612 MB / 0.5202 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.782e-05/0.1408, allocations: 8 kB / 0.5202 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.333e-05/0.1408, allocations: 7.984 kB / 0.5202 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.566e-05/0.1409, allocations: 8 kB / 0.5202 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.074e-05/0.1409, allocations: 15.94 kB / 0.5202 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.518e-06/0.1409, allocations: 0 / 0.5202 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.1421, allocations: 0.6436 MB / 0.5209 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.123e-06/0.1421, allocations: 0 / 0.5209 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.1421, allocations: 4 kB / 0.5209 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000673/0.1428, allocations: 427.1 kB / 0.5213 GB, free: 2.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1428, allocations: 0 / 0.5213 GB, free: 2.863 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1428, allocations: 4 kB / 0.5213 GB, free: 2.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1428, allocations: 4 kB / 0.5213 GB, free: 2.855 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004587/0.1433, allocations: 351.3 kB / 0.5216 GB, free: 2.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.1433, allocations: 12.03 kB / 0.5216 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.411e-05/0.1434, allocations: 75.47 kB / 0.5217 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.724e-05/0.1434, allocations: 110 kB / 0.5218 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.166e-05/0.1435, allocations: 76.22 kB / 0.5219 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.1436, allocations: 177.8 kB / 0.522 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.633e-05/0.1437, allocations: 170.6 kB / 0.5222 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.178e-05/0.1438, allocations: 154.5 kB / 0.5224 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.274e-05/0.1439, allocations: 101 kB / 0.5224 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.1439, allocations: 75.28 kB / 0.5225 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.841e-05/0.144, allocations: 154.6 kB / 0.5227 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.121e-05/0.144, allocations: 154.6 kB / 0.5228 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.595e-05/0.1441, allocations: 150.6 kB / 0.523 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.1444, allocations: 417 kB / 0.5234 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.1445, allocations: 177.1 kB / 0.5235 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/0.1446, allocations: 84.14 kB / 0.5236 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.1446, allocations: 75.28 kB / 0.5237 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.288e-05/0.1447, allocations: 135.5 kB / 0.5238 GB, free: 108 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.1447, allocations: 0 / 0.5238 GB, free: 108 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.895e-05/0.1448, allocations: 33.62 kB / 0.5238 GB, free: 68 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.1449, allocations: 152.4 kB / 0.524 GB, free: 15.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.127e-05/0.145, allocations: 89.86 kB / 0.5241 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.145, allocations: 33.7 kB / 0.5241 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.145, allocations: 80.14 kB / 0.5242 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.145, allocations: 3.938 kB / 0.5242 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.1451, allocations: 17.72 kB / 0.5242 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1452, allocations: 310.8 kB / 0.5245 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-06/0.1452, allocations: 0 / 0.5245 GB, free: 15.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.744e-05/0.1452, allocations: 4 kB / 0.5245 GB, free: 15.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.172e-05/0.1453, allocations: 79.27 kB / 0.5246 GB, free: 15.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.063e-05/0.1453, allocations: 79.31 kB / 0.5246 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.085e-05/0.1454, allocations: 37.58 kB / 0.5247 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.1454, allocations: 79.28 kB / 0.5248 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-05/0.1454, allocations: 75.28 kB / 0.5248 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.179e-05/0.1455, allocations: 150.6 kB / 0.525 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.7e-05/0.1456, allocations: 83.22 kB / 0.5251 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.634e-05/0.1456, allocations: 154.6 kB / 0.5252 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.152e-05/0.1457, allocations: 83.22 kB / 0.5253 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.139e-05/0.1458, allocations: 83.31 kB / 0.5254 GB, free: 14.44 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001568/0.1459, allocations: 264.3 kB / 0.5256 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.146, allocations: 101 kB / 0.5257 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.38e-05/0.1461, allocations: 111.9 kB / 0.5258 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.623e-05/0.1461, allocations: 184.3 kB / 0.526 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.281e-05/0.1462, allocations: 184.2 kB / 0.5262 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.833e-05/0.1463, allocations: 176.3 kB / 0.5263 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.1466, allocations: 372.2 kB / 0.5267 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.938e-05/0.1466, allocations: 104.9 kB / 0.5268 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/0.1466, allocations: 109 kB / 0.5269 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-05/0.1467, allocations: 192.1 kB / 0.5271 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.427e-05/0.1468, allocations: 176.3 kB / 0.5272 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.337e-05/0.1469, allocations: 180.3 kB / 0.5274 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-05/0.147, allocations: 184.2 kB / 0.5276 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.1471, allocations: 315.7 kB / 0.5279 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.1472, allocations: 105 kB / 0.528 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.561e-05/0.1473, allocations: 176.3 kB / 0.5282 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.913e-05/0.1474, allocations: 108.9 kB / 0.5283 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.1474, allocations: 184.2 kB / 0.5284 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/0.1475, allocations: 109.4 kB / 0.5285 GB, free: 10.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.249e-05/0.1475, allocations: 75.28 kB / 0.5286 GB, free: 10.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1475, allocations: 0 / 0.5286 GB, free: 10.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005662/0.1481, allocations: 135.5 kB / 0.5287 GB, free: 10.77 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.001323/0.1494, allocations: 1.049 MB / 0.5298 GB, free: 9.695 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.558e-05/0.1495, allocations: 3.938 kB / 0.5298 GB, free: 9.691 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1495, allocations: 0 / 0.5298 GB, free: 9.691 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.1495, allocations: 0 / 0.5298 GB, free: 9.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.1499, allocations: 467.5 kB / 0.5302 GB, free: 9.234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.1504, allocations: 253.3 kB / 0.5305 GB, free: 8.945 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.1507, allocations: 0.669 MB / 0.5311 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.993e-06/0.1507, allocations: 0 / 0.5311 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.558e-05/0.1507, allocations: 11.44 kB / 0.5311 GB, free: 8.238 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1507, allocations: 0 / 0.5311 GB, free: 8.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.1754, allocations: 4.111 MB / 0.5351 GB, free: 4.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.53, allocations: 12.28 kB / 0.5352 GB, free: 4.125 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.694848310027737] Failed to read output from testmodel.py, exit status != 0: 11.690830250969157 11.899990225 11.754053308 Calling exit ...