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.001374/0.001374, 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.001588/0.001588, allocations: 211.8 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.5/1.5, allocations: 207.7 MB / 233.8 MB, free: 9.805 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.2198/0.2198, allocations: 44.27 MB / 330.3 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.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.002231/0.002231, allocations: 67.91 kB / 467.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1212, allocations: 61.04 MB / 0.5161 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001783/0.123, allocations: 0.4987 MB / 0.5166 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003447/0.1265, allocations: 2.116 MB / 0.5187 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-06/0.1265, allocations: 4 kB / 0.5187 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.657e-06/0.1265, allocations: 0 / 0.5187 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.242e-06/0.1265, allocations: 0 / 0.5187 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.1287, allocations: 0.612 MB / 0.5193 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.46e-05/0.1288, allocations: 11.98 kB / 0.5193 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.673e-05/0.1288, allocations: 7.938 kB / 0.5193 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.671e-05/0.1289, allocations: 8 kB / 0.5193 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.381e-05/0.1289, allocations: 11.98 kB / 0.5193 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.451e-06/0.1289, allocations: 0 / 0.5193 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.1299, allocations: 0.6123 MB / 0.5199 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.72e-06/0.1299, allocations: 0 / 0.5199 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.13, allocations: 4 kB / 0.5199 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006182/0.1306, allocations: 427.1 kB / 0.5203 GB, free: 2.871 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1306, allocations: 0 / 0.5203 GB, free: 2.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1306, allocations: 0 / 0.5203 GB, free: 2.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.1306, allocations: 0 / 0.5203 GB, free: 2.871 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.000385/0.131, allocations: 355.3 kB / 0.5207 GB, free: 2.488 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.131, allocations: 8.031 kB / 0.5207 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.647e-05/0.1311, allocations: 110 kB / 0.5208 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/0.1312, allocations: 84.22 kB / 0.5209 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.1313, allocations: 181.8 kB / 0.521 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.321e-05/0.1313, allocations: 150.9 kB / 0.5212 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.706e-05/0.1314, allocations: 158.5 kB / 0.5213 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.295e-05/0.1315, allocations: 105 kB / 0.5214 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/0.1315, allocations: 75.28 kB / 0.5215 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.838e-05/0.1316, allocations: 150.6 kB / 0.5217 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-05/0.1317, allocations: 158.5 kB / 0.5218 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.534e-05/0.1317, allocations: 158.5 kB / 0.522 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.132, allocations: 413 kB / 0.5223 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1321, allocations: 177.1 kB / 0.5225 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.1322, allocations: 88.06 kB / 0.5226 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.849e-05/0.1322, allocations: 75.28 kB / 0.5227 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.846e-05/0.1323, allocations: 139.5 kB / 0.5228 GB, free: 188 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.1323, allocations: 0 / 0.5228 GB, free: 188 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.377e-05/0.1324, allocations: 25.7 kB / 0.5228 GB, free: 156 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.1325, allocations: 152.4 kB / 0.523 GB, free: 15.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.629e-05/0.1326, allocations: 97.86 kB / 0.5231 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1326, allocations: 29.7 kB / 0.5231 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.1326, allocations: 84.12 kB / 0.5232 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.1326, allocations: 0 / 0.5232 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.1326, allocations: 13.72 kB / 0.5232 GB, free: 15.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1328, allocations: 314.8 kB / 0.5235 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-06/0.1328, allocations: 0 / 0.5235 GB, free: 15.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-05/0.1328, allocations: 29.7 kB / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.822e-05/0.1329, allocations: 75.28 kB / 0.5236 GB, free: 15.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.846e-05/0.1329, allocations: 75.28 kB / 0.5237 GB, free: 15.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.037e-05/0.133, allocations: 37.58 kB / 0.5237 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.133, allocations: 83.31 kB / 0.5238 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.219e-05/0.133, allocations: 75.28 kB / 0.5239 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.527e-05/0.1331, allocations: 162.5 kB / 0.524 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.246e-05/0.1332, allocations: 79.27 kB / 0.5241 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.19e-05/0.1332, allocations: 150.6 kB / 0.5242 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.305e-05/0.1333, allocations: 83.22 kB / 0.5243 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.1334, allocations: 79.33 kB / 0.5244 GB, free: 14.49 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.0001527/0.1335, allocations: 260.4 kB / 0.5246 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.337e-05/0.1336, allocations: 108.9 kB / 0.5247 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.567e-05/0.1336, allocations: 116 kB / 0.5248 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.148e-05/0.1337, allocations: 180.3 kB / 0.525 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-05/0.1338, allocations: 180.2 kB / 0.5252 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-05/0.1339, allocations: 180.3 kB / 0.5254 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.1342, allocations: 380.2 kB / 0.5257 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.451e-05/0.1342, allocations: 105 kB / 0.5258 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.1343, allocations: 101 kB / 0.5259 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.348e-05/0.1344, allocations: 180.2 kB / 0.5261 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.25e-05/0.1344, allocations: 180.3 kB / 0.5263 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.339e-05/0.1345, allocations: 180.2 kB / 0.5264 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-05/0.1346, allocations: 188.2 kB / 0.5266 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.1348, allocations: 311.7 kB / 0.5269 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.1348, allocations: 112.9 kB / 0.527 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.29e-05/0.1349, allocations: 192.2 kB / 0.5272 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.135, allocations: 105 kB / 0.5273 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.1351, allocations: 184.2 kB / 0.5275 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.1352, allocations: 101.4 kB / 0.5276 GB, free: 11.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.629e-05/0.1352, allocations: 75.28 kB / 0.5276 GB, free: 10.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1352, allocations: 0 / 0.5276 GB, free: 10.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005456/0.1358, allocations: 135.6 kB / 0.5278 GB, free: 10.82 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.001154/0.1369, allocations: 1.045 MB / 0.5288 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.847e-05/0.137, allocations: 0 / 0.5288 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.137, allocations: 0 / 0.5288 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.137, allocations: 0 / 0.5288 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.1374, allocations: 463.7 kB / 0.5292 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.1378, allocations: 241.3 kB / 0.5295 GB, free: 9.016 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.853e-05/0.1379, allocations: 55.36 kB / 0.5295 GB, free: 8.941 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.099e-05/0.1379, allocations: 11.98 kB / 0.5295 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.386e-05/0.1379, allocations: 7.438 kB / 0.5295 GB, free: 8.922 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1379, allocations: 3.938 kB / 0.5295 GB, free: 8.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.1693, allocations: 4.496 MB / 0.5339 GB, free: 4.426 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.73, allocations: 13 kB / 0.5339 GB, free: 4.414 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 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.860384915024042] Failed to read output from testmodel.py, exit status != 0: 11.836606075055897 12.084761257 11.951407236 Calling exit ...