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.0009032/0.0009032, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.001072/0.001072, allocations: 169.9 kB / 23.21 MB, free: 1.348 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.9814/0.9814, allocations: 158.6 MB / 185 MB, free: 3.047 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.1363/0.1363, allocations: 32.36 MB / 269.6 MB, free: 14.98 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 2.395e-06/2.395e-06, allocations: 0 / 406.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.865e-05, allocations: 9.594 kB / 406.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001769/0.001798, allocations: 0.4912 MB / 407.3 MB, free: 13.06 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.004455, allocations: 2.13 MB / 409.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.843e-06/0.004462, allocations: 0 / 409.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.709e-06/0.004467, allocations: 0 / 409.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.693e-06/0.004468, allocations: 0 / 409.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.006077, allocations: 0.6192 MB / 410.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.006e-05/0.006117, allocations: 8 kB / 410.1 MB, free: 10.28 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.11e-05/0.006148, allocations: 3.984 kB / 410.1 MB, free: 10.28 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.239e-05/0.006231, allocations: 15.92 kB / 410.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.78e-05/0.006269, allocations: 4 kB / 410.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.201e-06/0.006275, allocations: 0 / 410.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008285/0.007103, allocations: 0.6084 MB / 410.7 MB, free: 9.648 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.637e-06/0.007112, allocations: 0 / 410.7 MB, free: 9.648 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.007138, allocations: 8 kB / 410.7 MB, free: 9.641 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005938/0.007732, allocations: 0.5302 MB / 411.2 MB, free: 9.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.007736, allocations: 4 kB / 411.2 MB, free: 9.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.572e-06/0.007738, allocations: 0 / 411.2 MB, free: 9.105 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.007742, allocations: 0 / 411.2 MB, free: 9.105 MB / 346.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.0002768/0.008019, allocations: 351.3 kB / 411.6 MB, free: 8.727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.00806, allocations: 8.031 kB / 411.6 MB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.008107, allocations: 114 kB / 411.7 MB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.008158, allocations: 76.22 kB / 411.8 MB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.512e-05/0.008233, allocations: 189.1 kB / 412 MB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.008274, allocations: 162.9 kB / 412.1 MB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.008315, allocations: 150.9 kB / 412.3 MB, free: 8.004 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.814e-05/0.008383, allocations: 105.3 kB / 412.4 MB, free: 7.895 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.008405, allocations: 75.28 kB / 412.5 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.947e-05/0.008454, allocations: 154.6 kB / 412.6 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-05/0.008491, allocations: 150.6 kB / 412.7 MB, free: 7.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.258e-05/0.008534, allocations: 154.5 kB / 412.9 MB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.008911, allocations: 417 kB / 413.3 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.473e-05/0.008976, allocations: 165.1 kB / 413.5 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.009, allocations: 80.14 kB / 413.5 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.009021, allocations: 83.28 kB / 413.6 MB, free: 6.582 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.425e-05/0.009075, allocations: 139.5 kB / 413.8 MB, free: 6.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.009076, allocations: 3.938 kB / 413.8 MB, free: 6.426 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 6.157e-05/0.009138, allocations: 29.7 kB / 413.8 MB, free: 6.391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.009208, allocations: 156.4 kB / 413.9 MB, free: 6.219 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.665e-05/0.009235, allocations: 89.86 kB / 414 MB, free: 6.121 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.009248, allocations: 25.7 kB / 414.1 MB, free: 6.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.442e-05/0.009273, allocations: 80.14 kB / 414.1 MB, free: 6.008 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/0.009276, allocations: 0 / 414.1 MB, free: 6.008 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.009299, allocations: 17.66 kB / 414.2 MB, free: 5.984 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.009396, allocations: 314.8 kB / 414.5 MB, free: 5.668 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-06/0.009402, allocations: 4 kB / 414.5 MB, free: 5.664 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-05/0.009439, allocations: 29.69 kB / 414.5 MB, free: 5.629 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.494e-05/0.009464, allocations: 75.28 kB / 414.6 MB, free: 5.555 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-05/0.009485, allocations: 79.28 kB / 414.6 MB, free: 5.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.094e-05/0.009526, allocations: 29.64 kB / 414.7 MB, free: 5.441 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.009559, allocations: 89.88 kB / 414.8 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.00958, allocations: 79.28 kB / 414.8 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.464e-05/0.009624, allocations: 154.5 kB / 415 MB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-05/0.009647, allocations: 79.28 kB / 415.1 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.725e-05/0.009684, allocations: 154.5 kB / 415.2 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.009732, allocations: 79.25 kB / 415.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.00975, allocations: 83.28 kB / 415.4 MB, free: 4.734 MB / 346.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.752e-05/0.009837, allocations: 260.4 kB / 415.6 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.009874, allocations: 108.9 kB / 415.7 MB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.554e-05/0.00991, allocations: 115.8 kB / 415.9 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-05/0.009958, allocations: 184.2 kB / 416 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.334e-05/0.01, allocations: 184.2 kB / 416.2 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.247e-05/0.01005, allocations: 180.2 kB / 416.4 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.01053, allocations: 376.2 kB / 416.8 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.711e-05/0.01056, allocations: 105 kB / 416.9 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.01059, allocations: 101 kB / 417 MB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.231e-05/0.01065, allocations: 192.1 kB / 417.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-05/0.01069, allocations: 180.2 kB / 417.3 MB, free: 2.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.021e-05/0.01074, allocations: 184.2 kB / 417.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.145e-05/0.01079, allocations: 180.3 kB / 417.7 MB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.01093, allocations: 303.8 kB / 418 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.01096, allocations: 105 kB / 418.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.6e-05/0.01102, allocations: 184.1 kB / 418.3 MB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.553e-05/0.01107, allocations: 113.4 kB / 418.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.01113, allocations: 184.2 kB / 418.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.01115, allocations: 101 kB / 418.6 MB, free: 1.266 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.024e-05/0.01118, allocations: 83.33 kB / 418.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01118, allocations: 4 kB / 418.7 MB, free: 1.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003581/0.01154, allocations: 127.7 kB / 418.9 MB, free: 1.055 MB / 346.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.0009229/0.01247, allocations: 1.079 MB / 419.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.664e-05/0.01251, allocations: 4 kB / 419.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01251, allocations: 4 kB / 419.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.01252, allocations: 0 / 419.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.01275, allocations: 459.6 kB / 420.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.01307, allocations: 229.6 kB / 420.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.616e-05/0.01311, allocations: 63.28 kB / 420.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.686e-06/0.01312, allocations: 3.938 kB / 420.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.591e-05/0.01314, allocations: 8.5 kB / 420.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of SimCode: time 9.21e-07/0.01314, allocations: 0 / 420.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.03337, allocations: 4.66 MB / 425.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/7.227, allocations: 12 kB / 425.4 MB, free: 10.46 MB / 362.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.573699742555618] Failed to read output from testmodel.py, exit status != 0: 7.310734400525689 7.521253555 7.509533902 Calling exit ...