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.0008411/0.0008411, 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.0008398/0.0008398, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8506/0.8506, allocations: 158.6 MB / 185 MB, free: 3.023 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.1336/0.1336, allocations: 32.37 MB / 269.6 MB, free: 14.97 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.755e-06/2.755e-06, allocations: 0 / 406.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.423e-05, allocations: 10.02 kB / 406.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.002218/0.002243, allocations: 0.5026 MB / 407.3 MB, free: 1.766 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004139/0.006381, allocations: 2.107 MB / 409.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.977e-06/0.00639, allocations: 4 kB / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 5.921e-06/0.006396, allocations: 0 / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 1.313e-06/0.006397, allocations: 0 / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.008434, allocations: 0.6191 MB / 410.1 MB, free: 15.01 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.292e-05/0.008486, allocations: 12 kB / 410.1 MB, free: 15 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.375e-05/0.00852, allocations: 4 kB / 410.1 MB, free: 15 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.008621, allocations: 15.91 kB / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.163e-05/0.008662, allocations: 4 kB / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.292e-06/0.008669, allocations: 0 / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008872/0.009556, allocations: 0.6123 MB / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.785e-06/0.009563, allocations: 0 / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.009588, allocations: 4 kB / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000703/0.01029, allocations: 0.5419 MB / 411.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.0103, allocations: 0 / 411.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.506e-06/0.0103, allocations: 0 / 411.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.01031, allocations: 0 / 411.2 MB, free: 13.82 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.0003739/0.01069, allocations: 351.3 kB / 411.6 MB, free: 13.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.01074, allocations: 11.97 kB / 411.6 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006245/0.01136, allocations: 110 kB / 411.7 MB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.814e-05/0.01142, allocations: 80.22 kB / 411.8 MB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.425e-05/0.01149, allocations: 185 kB / 412 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.01154, allocations: 150.9 kB / 412.1 MB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/0.01158, allocations: 158.9 kB / 412.3 MB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.213e-05/0.01164, allocations: 109.3 kB / 412.4 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.01166, allocations: 75.28 kB / 412.4 MB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.01171, allocations: 150.6 kB / 412.6 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/0.01175, allocations: 150.6 kB / 412.7 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.824e-05/0.01179, allocations: 162.5 kB / 412.9 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.01201, allocations: 409 kB / 413.3 MB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.731e-05/0.01208, allocations: 169.1 kB / 413.5 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.01211, allocations: 80.14 kB / 413.5 MB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.01214, allocations: 75.28 kB / 413.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.274e-05/0.01221, allocations: 147.4 kB / 413.8 MB, free: 11.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.01221, allocations: 4 kB / 413.8 MB, free: 11.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 7.917e-05/0.01229, allocations: 29.69 kB / 413.8 MB, free: 11.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.01236, allocations: 152.4 kB / 413.9 MB, free: 10.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.703e-05/0.01238, allocations: 89.86 kB / 414 MB, free: 10.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.01239, allocations: 29.7 kB / 414.1 MB, free: 10.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.01242, allocations: 80.14 kB / 414.1 MB, free: 10.72 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.01242, allocations: 3.938 kB / 414.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.01244, allocations: 13.72 kB / 414.2 MB, free: 10.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.01253, allocations: 310.8 kB / 414.5 MB, free: 10.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-06/0.01254, allocations: 0 / 414.5 MB, free: 10.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.388e-05/0.01257, allocations: 33.7 kB / 414.5 MB, free: 10.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.691e-05/0.0126, allocations: 79.27 kB / 414.6 MB, free: 10.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.372e-05/0.01262, allocations: 79.28 kB / 414.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.367e-05/0.01266, allocations: 33.64 kB / 414.7 MB, free: 10.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.0127, allocations: 83.22 kB / 414.8 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/0.01272, allocations: 79.28 kB / 414.8 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.577e-05/0.01278, allocations: 154.5 kB / 415 MB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.081e-05/0.0128, allocations: 75.28 kB / 415.1 MB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-05/0.01285, allocations: 150.6 kB / 415.2 MB, free: 9.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.932e-05/0.0129, allocations: 87.22 kB / 415.3 MB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.01292, allocations: 83.25 kB / 415.4 MB, free: 9.445 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 9.087e-05/0.01302, allocations: 268.4 kB / 415.6 MB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.01306, allocations: 104.9 kB / 415.7 MB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.0131, allocations: 119.8 kB / 415.9 MB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.117e-05/0.01315, allocations: 176.3 kB / 416 MB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.874e-05/0.0132, allocations: 184.2 kB / 416.2 MB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.234e-05/0.01324, allocations: 184.3 kB / 416.4 MB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.01339, allocations: 368.2 kB / 416.8 MB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.589e-05/0.01341, allocations: 105 kB / 416.9 MB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.862e-05/0.01344, allocations: 108.9 kB / 417 MB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.545e-05/0.01349, allocations: 180.2 kB / 417.1 MB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-05/0.01354, allocations: 192.2 kB / 417.3 MB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.387e-05/0.01358, allocations: 180.2 kB / 417.5 MB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.296e-05/0.01362, allocations: 176.3 kB / 417.7 MB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.01373, allocations: 311.7 kB / 418 MB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.01376, allocations: 105 kB / 418.1 MB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.01382, allocations: 188.1 kB / 418.3 MB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.992e-05/0.01387, allocations: 101.4 kB / 418.4 MB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.01392, allocations: 192.2 kB / 418.5 MB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.01395, allocations: 101 kB / 418.6 MB, free: 5.973 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.311e-05/0.01398, allocations: 79.33 kB / 418.7 MB, free: 5.895 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01398, allocations: 4 kB / 418.7 MB, free: 5.891 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003949/0.01438, allocations: 131.6 kB / 418.9 MB, free: 5.762 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.001333/0.01571, allocations: 1.073 MB / 419.9 MB, free: 4.668 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.143e-05/0.01576, allocations: 4 kB / 419.9 MB, free: 4.664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01576, allocations: 0 / 419.9 MB, free: 4.664 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.01576, allocations: 4 kB / 419.9 MB, free: 4.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.01599, allocations: 459.4 kB / 420.4 MB, free: 4.211 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.01633, allocations: 241.4 kB / 420.6 MB, free: 3.934 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.663e-05/0.01637, allocations: 55.3 kB / 420.7 MB, free: 3.859 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.595e-06/0.01638, allocations: 0 / 420.7 MB, free: 3.859 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.0164, allocations: 12.5 kB / 420.7 MB, free: 3.848 MB / 394.7 MB Notification: Performance of SimCode: time 4.21e-07/0.0164, allocations: 3.938 kB / 420.7 MB, free: 3.844 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.03923, allocations: 4.656 MB / 425.3 MB, free: 15.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.936/6.975, allocations: 11.89 kB / 425.4 MB, free: 15.14 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 & /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: 8.916674874722958] Failed to read output from testmodel.py, exit status != 0: 7.055974924936891 7.063153049 7.05094064 Calling exit ...