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.0013/0.0013, allocations: 114.5 kB / 19.69 MB, free: 2.188 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.001475/0.001475, allocations: 212.1 kB / 23 MB, free: 5.008 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.39/1.39, allocations: 207.6 MB / 233.8 MB, free: 10.01 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.2285/0.2285, allocations: 44.23 MB / 330.3 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear",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.002146/0.002146, allocations: 75.83 kB / 467.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1224, allocations: 61.04 MB / 0.5161 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001612/0.1241, allocations: 0.5024 MB / 0.5166 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003346/0.1274, allocations: 2.264 MB / 0.5188 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-06/0.1274, allocations: 0 / 0.5188 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.399e-06/0.1274, allocations: 0 / 0.5188 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.243e-06/0.1274, allocations: 0 / 0.5188 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.1294, allocations: 0.612 MB / 0.5194 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.521e-05/0.1295, allocations: 11.98 kB / 0.5194 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.088e-05/0.1295, allocations: 4 kB / 0.5194 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.026e-05/0.1296, allocations: 15.92 kB / 0.5195 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.1296, allocations: 8 kB / 0.5195 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.807e-06/0.1296, allocations: 0 / 0.5195 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.1306, allocations: 0.6514 MB / 0.5201 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.781e-06/0.1307, allocations: 0 / 0.5201 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.934e-05/0.1307, allocations: 4 kB / 0.5201 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000586/0.1313, allocations: 419.2 kB / 0.5205 GB, free: 2.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1313, allocations: 0 / 0.5205 GB, free: 2.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1313, allocations: 0 / 0.5205 GB, free: 2.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1313, allocations: 4 kB / 0.5205 GB, free: 2.848 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.0004086/0.1317, allocations: 359.2 kB / 0.5208 GB, free: 2.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1317, allocations: 8.031 kB / 0.5209 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.029e-05/0.1318, allocations: 110 kB / 0.521 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.1318, allocations: 76.22 kB / 0.521 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.132, allocations: 181.8 kB / 0.5212 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.182e-05/0.132, allocations: 150.9 kB / 0.5214 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-05/0.1321, allocations: 162.5 kB / 0.5215 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.932e-05/0.1322, allocations: 101 kB / 0.5216 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/0.1322, allocations: 75.28 kB / 0.5217 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.698e-05/0.1323, allocations: 150.6 kB / 0.5218 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.465e-05/0.1324, allocations: 154.6 kB / 0.522 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.241e-05/0.1325, allocations: 158.5 kB / 0.5221 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.1328, allocations: 413 kB / 0.5225 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.133, allocations: 177 kB / 0.5227 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.133, allocations: 80.14 kB / 0.5228 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.1331, allocations: 79.27 kB / 0.5228 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.923e-05/0.1332, allocations: 143.5 kB / 0.523 GB, free: 172 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.1332, allocations: 0 / 0.523 GB, free: 172 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.752e-05/0.1332, allocations: 29.69 kB / 0.523 GB, free: 136 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.1333, allocations: 152.4 kB / 0.5231 GB, free: 15.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.309e-05/0.1334, allocations: 89.86 kB / 0.5232 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.1334, allocations: 25.7 kB / 0.5233 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.092e-05/0.1335, allocations: 84.14 kB / 0.5233 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.664e-06/0.1335, allocations: 4 kB / 0.5233 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.1335, allocations: 17.72 kB / 0.5234 GB, free: 15.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1336, allocations: 314.8 kB / 0.5237 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-06/0.1336, allocations: 0 / 0.5237 GB, free: 15.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.045e-05/0.1336, allocations: 0 / 0.5237 GB, free: 15.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.303e-05/0.1337, allocations: 83.22 kB / 0.5237 GB, free: 15.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.245e-05/0.1337, allocations: 79.22 kB / 0.5238 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.637e-05/0.1338, allocations: 29.64 kB / 0.5238 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/0.1338, allocations: 87.31 kB / 0.5239 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.061e-05/0.1339, allocations: 75.28 kB / 0.524 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.141e-05/0.1339, allocations: 154.5 kB / 0.5241 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.021e-05/0.134, allocations: 75.28 kB / 0.5242 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.807e-05/0.1341, allocations: 162.5 kB / 0.5244 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.945e-05/0.1341, allocations: 79.28 kB / 0.5244 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.1342, allocations: 83.33 kB / 0.5245 GB, free: 14.5 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.0001444/0.1343, allocations: 260.4 kB / 0.5248 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.771e-05/0.1344, allocations: 108.9 kB / 0.5249 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.345e-05/0.1345, allocations: 108 kB / 0.525 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.322e-05/0.1346, allocations: 188.2 kB / 0.5252 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.069e-05/0.1346, allocations: 180.3 kB / 0.5253 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-05/0.1347, allocations: 176.3 kB / 0.5255 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.135, allocations: 376.2 kB / 0.5259 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.567e-05/0.135, allocations: 105 kB / 0.526 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.1351, allocations: 108.9 kB / 0.5261 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-05/0.1352, allocations: 184.3 kB / 0.5262 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.632e-05/0.1353, allocations: 180.3 kB / 0.5264 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.859e-05/0.1353, allocations: 180.2 kB / 0.5266 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.665e-05/0.1354, allocations: 180.2 kB / 0.5267 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.1356, allocations: 307.7 kB / 0.527 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.1357, allocations: 109 kB / 0.5271 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.1358, allocations: 188.2 kB / 0.5273 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-05/0.1358, allocations: 105 kB / 0.5274 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.136, allocations: 188.1 kB / 0.5276 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.492e-05/0.136, allocations: 101.4 kB / 0.5277 GB, free: 11.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.403e-05/0.136, allocations: 75.28 kB / 0.5278 GB, free: 10.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.136, allocations: 4 kB / 0.5278 GB, free: 10.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005228/0.1366, allocations: 135.6 kB / 0.5279 GB, free: 10.84 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.001214/0.1378, allocations: 1.045 MB / 0.5289 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.311e-05/0.1378, allocations: 4 kB / 0.5289 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1378, allocations: 0 / 0.5289 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.1378, allocations: 0 / 0.5289 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.1382, allocations: 459.7 kB / 0.5294 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.1387, allocations: 249.4 kB / 0.5296 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.139, allocations: 0.6728 MB / 0.5303 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.314e-06/0.139, allocations: 0 / 0.5303 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.487e-05/0.139, allocations: 7.438 kB / 0.5303 GB, free: 8.316 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.139, allocations: 3.938 kB / 0.5303 GB, free: 8.312 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03307/0.1721, allocations: 4.09 MB / 0.5343 GB, free: 4.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.58, allocations: 8.797 kB / 0.5343 GB, free: 4.223 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.466415932169184] Failed to read output from testmodel.py, exit status != 0: 11.67895216587931 11.88881395 11.75505201 Calling exit ...