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.0009157/0.0009157, allocations: 75.7 kB / 20.01 MB, free: 4.508 MB / 18.57 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.001134/0.001134, allocations: 169.9 kB / 23.32 MB, free: 1.203 MB / 18.57 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 0.9398/0.9398, allocations: 158.6 MB / 185.1 MB, free: 3.008 MB / 170.7 MB " [Timeout remaining time 179] 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.1412/0.1412, allocations: 32.37 MB / 269.7 MB, free: 14.92 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.572e-06/1.572e-06, allocations: 0 / 407 MB, free: 2.156 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.591e-05, allocations: 5.938 kB / 407 MB, free: 2.152 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001107/0.001133, allocations: 0.4987 MB / 407.5 MB, free: 1.656 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.003681, allocations: 2.108 MB / 409.6 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-06/0.003686, allocations: 0 / 409.6 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.948e-06/0.00369, allocations: 0 / 409.6 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 1.342e-06/0.003691, allocations: 3.938 kB / 409.7 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.004984, allocations: 0.627 MB / 410.3 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 3.746e-05/0.005021, allocations: 7.984 kB / 410.3 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.266e-05/0.005054, allocations: 4 kB / 410.3 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.251e-05/0.005126, allocations: 11.98 kB / 410.3 MB, free: 14.87 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.644e-05/0.005163, allocations: 4 kB / 410.3 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-06/0.005169, allocations: 0 / 410.3 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000806/0.005975, allocations: 0.6123 MB / 410.9 MB, free: 14.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-06/0.005981, allocations: 0 / 410.9 MB, free: 14.25 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.006001, allocations: 8 kB / 410.9 MB, free: 14.24 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006324/0.006633, allocations: 0.5379 MB / 411.5 MB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.006638, allocations: 0 / 411.5 MB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.00664, allocations: 0 / 411.5 MB, free: 13.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.006646, allocations: 0 / 411.5 MB, free: 13.7 MB / 394.7 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.0003218/0.006968, allocations: 351.3 kB / 411.8 MB, free: 13.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.007011, allocations: 12.03 kB / 411.8 MB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.007059, allocations: 106 kB / 411.9 MB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.007104, allocations: 80.22 kB / 412 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.284e-05/0.007177, allocations: 193 kB / 412.2 MB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.007219, allocations: 150.9 kB / 412.3 MB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.007261, allocations: 150.9 kB / 412.5 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.744e-05/0.007328, allocations: 109.3 kB / 412.6 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.007352, allocations: 79.22 kB / 412.7 MB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/0.0074, allocations: 154.6 kB / 412.8 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-05/0.007438, allocations: 150.6 kB / 413 MB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.278e-05/0.007481, allocations: 150.6 kB / 413.1 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.007695, allocations: 417 kB / 413.5 MB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.203e-05/0.007777, allocations: 169.1 kB / 413.7 MB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.007808, allocations: 84.08 kB / 413.8 MB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.007832, allocations: 83.22 kB / 413.8 MB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.848e-05/0.0079, allocations: 135.5 kB / 414 MB, free: 11.03 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.007901, allocations: 0 / 414 MB, free: 11.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 6.705e-05/0.007968, allocations: 33.69 kB / 414 MB, free: 10.99 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.008028, allocations: 156.4 kB / 414.2 MB, free: 10.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.546e-05/0.008053, allocations: 89.86 kB / 414.3 MB, free: 10.72 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.008065, allocations: 25.7 kB / 414.3 MB, free: 10.69 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.683e-05/0.008092, allocations: 80.14 kB / 414.4 MB, free: 10.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.008094, allocations: 4 kB / 414.4 MB, free: 10.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.045e-05/0.008115, allocations: 17.72 kB / 414.4 MB, free: 10.58 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.717e-05/0.008202, allocations: 310.8 kB / 414.7 MB, free: 10.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.816e-06/0.008211, allocations: 3.938 kB / 414.7 MB, free: 10.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.035e-05/0.008241, allocations: 25.7 kB / 414.7 MB, free: 10.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.48e-05/0.008266, allocations: 79.28 kB / 414.8 MB, free: 10.15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.989e-05/0.008286, allocations: 75.28 kB / 414.9 MB, free: 10.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.92e-05/0.008325, allocations: 29.69 kB / 414.9 MB, free: 10.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.00836, allocations: 87.22 kB / 415 MB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/0.008383, allocations: 79.22 kB / 415.1 MB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000355/0.008738, allocations: 154.6 kB / 415.2 MB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.707e-05/0.008755, allocations: 83.31 kB / 415.3 MB, free: 9.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.261e-05/0.008787, allocations: 154.5 kB / 415.4 MB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.008834, allocations: 79.28 kB / 415.5 MB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.008857, allocations: 87.2 kB / 415.6 MB, free: 9.328 MB / 394.7 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 8.222e-05/0.008939, allocations: 264.4 kB / 415.9 MB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.008973, allocations: 105 kB / 416 MB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.009007, allocations: 115.8 kB / 416.1 MB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.355e-05/0.009051, allocations: 184.2 kB / 416.3 MB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.797e-05/0.009099, allocations: 176.3 kB / 416.4 MB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.725e-05/0.009146, allocations: 184.2 kB / 416.6 MB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.009287, allocations: 376.3 kB / 417 MB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.952e-05/0.009317, allocations: 101 kB / 417.1 MB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.736e-05/0.009344, allocations: 112.9 kB / 417.2 MB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.977e-05/0.009394, allocations: 180.2 kB / 417.4 MB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.009449, allocations: 184.1 kB / 417.5 MB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.504e-05/0.009494, allocations: 180.3 kB / 417.7 MB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.441e-05/0.009539, allocations: 176.3 kB / 417.9 MB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.009653, allocations: 311.7 kB / 418.2 MB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.009687, allocations: 108.9 kB / 418.3 MB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.009743, allocations: 180.2 kB / 418.5 MB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.194e-05/0.009795, allocations: 105.4 kB / 418.6 MB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.009856, allocations: 196.2 kB / 418.8 MB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.009884, allocations: 101 kB / 418.9 MB, free: 5.859 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.141e-05/0.009915, allocations: 83.33 kB / 418.9 MB, free: 5.777 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009915, allocations: 0 / 418.9 MB, free: 5.777 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003583/0.01027, allocations: 123.7 kB / 419.1 MB, free: 5.656 MB / 394.7 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.0009669/0.01124, allocations: 1.081 MB / 420.1 MB, free: 4.555 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.039e-05/0.0113, allocations: 0 / 420.1 MB, free: 4.555 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.0113, allocations: 0 / 420.1 MB, free: 4.555 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.0113, allocations: 0 / 420.1 MB, free: 4.555 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.01157, allocations: 471.2 kB / 420.6 MB, free: 4.094 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.01188, allocations: 237.4 kB / 420.8 MB, free: 3.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.501e-05/0.01191, allocations: 59.3 kB / 420.9 MB, free: 3.742 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.743e-06/0.01192, allocations: 0 / 420.9 MB, free: 3.742 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.602e-05/0.01194, allocations: 8.5 kB / 420.9 MB, free: 3.734 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01194, allocations: 0 / 420.9 MB, free: 3.734 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.03091, allocations: 4.629 MB / 425.5 MB, free: 15.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.005/7.036, allocations: 15.73 kB / 425.6 MB, free: 15.07 MB / 410.7 MB " [Timeout remaining time 653] (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: 9.161770681850612] Failed to read output from testmodel.py, exit status != 0: 7.116680143401027 7.128306686 7.119759096 Calling exit ...