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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 102.8 kB / 16.4 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 189.5 kB / 17.34 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2104/0.2104, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 67.91 kB / 441.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1383, allocations: 57.79 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.002186/0.1405, allocations: 0.491 MB / 499.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003753/0.1443, allocations: 2.222 MB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-06/0.1444, allocations: 0 / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.839e-06/0.1444, allocations: 0 / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.453e-06/0.1444, allocations: 0 / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.1468, allocations: 0.6158 MB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.774e-05/0.1469, allocations: 11.98 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.1469, allocations: 4 kB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.779e-05/0.147, allocations: 4 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.603e-05/0.1471, allocations: 7.984 kB / 0.4907 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.041e-06/0.1471, allocations: 0 / 0.4907 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.1482, allocations: 0.6514 MB / 0.4913 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.534e-06/0.1482, allocations: 0 / 0.4913 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.46e-05/0.1482, allocations: 0 / 0.4913 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000756/0.149, allocations: 423.4 kB / 0.4917 GB, free: 7.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.149, allocations: 3.938 kB / 0.4917 GB, free: 7.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.149, allocations: 0 / 0.4917 GB, free: 7.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.149, allocations: 3.984 kB / 0.4917 GB, free: 7.887 MB / 382.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.0005246/0.1496, allocations: 424.7 kB / 0.4921 GB, free: 7.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.1496, allocations: 11.89 kB / 0.4921 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.1498, allocations: 110 kB / 0.4922 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.629e-05/0.1498, allocations: 76.22 kB / 0.4923 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.15, allocations: 243.7 kB / 0.4925 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.267e-05/0.1501, allocations: 150.9 kB / 0.4927 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.877e-05/0.1501, allocations: 154.5 kB / 0.4928 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.1503, allocations: 104.9 kB / 0.4929 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.1503, allocations: 79.28 kB / 0.493 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.031e-05/0.1504, allocations: 158.5 kB / 0.4931 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-05/0.1505, allocations: 150.6 kB / 0.4933 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.477e-05/0.1505, allocations: 154.6 kB / 0.4934 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.1508, allocations: 442 kB / 0.4939 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.724e-05/0.1509, allocations: 177 kB / 0.494 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.151, allocations: 80.14 kB / 0.4941 GB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.151, allocations: 79.22 kB / 0.4942 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.677e-05/0.1511, allocations: 135.5 kB / 0.4943 GB, free: 5.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.635e-06/0.1511, allocations: 0 / 0.4943 GB, free: 5.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.247e-05/0.1512, allocations: 37.64 kB / 0.4943 GB, free: 4.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.854e-05/0.1513, allocations: 164.3 kB / 0.4945 GB, free: 4.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.807e-05/0.1514, allocations: 89.86 kB / 0.4946 GB, free: 4.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1514, allocations: 29.7 kB / 0.4946 GB, free: 4.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.1514, allocations: 80.14 kB / 0.4947 GB, free: 4.586 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.1514, allocations: 0 / 0.4947 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.1515, allocations: 13.72 kB / 0.4947 GB, free: 4.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1516, allocations: 310.8 kB / 0.495 GB, free: 4.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-06/0.1516, allocations: 4.047 kB / 0.495 GB, free: 4.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.721e-05/0.1516, allocations: 12 kB / 0.495 GB, free: 4.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.674e-05/0.1517, allocations: 75.28 kB / 0.4951 GB, free: 4.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.861e-05/0.1517, allocations: 75.28 kB / 0.4952 GB, free: 4.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.344e-05/0.1518, allocations: 37.62 kB / 0.4952 GB, free: 4.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.1519, allocations: 79.28 kB / 0.4953 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-05/0.152, allocations: 79.22 kB / 0.4953 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001113/0.1521, allocations: 158.6 kB / 0.4955 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.973e-05/0.1521, allocations: 83.22 kB / 0.4956 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-05/0.1522, allocations: 150.6 kB / 0.4957 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.07e-05/0.1522, allocations: 75.28 kB / 0.4958 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.1523, allocations: 79.22 kB / 0.4959 GB, free: 3.352 MB / 382.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.0001287/0.1524, allocations: 268.3 kB / 0.4961 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.1525, allocations: 112.9 kB / 0.4962 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.1526, allocations: 112 kB / 0.4963 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001262/0.1527, allocations: 176.3 kB / 0.4965 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.667e-05/0.1528, allocations: 176.3 kB / 0.4967 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-05/0.1529, allocations: 184.2 kB / 0.4969 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.1532, allocations: 409.2 kB / 0.4972 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-05/0.1532, allocations: 104.9 kB / 0.4973 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.1532, allocations: 101 kB / 0.4974 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.156e-05/0.1533, allocations: 184.2 kB / 0.4976 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-05/0.1534, allocations: 184.2 kB / 0.4978 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-05/0.1535, allocations: 176.3 kB / 0.498 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.618e-05/0.1535, allocations: 184.2 kB / 0.4981 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.1537, allocations: 311.7 kB / 0.4984 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.1538, allocations: 182.1 kB / 0.4986 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.021e-05/0.1539, allocations: 180.3 kB / 0.4988 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.154, allocations: 116.9 kB / 0.4989 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.154, allocations: 180.2 kB / 0.4991 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.1541, allocations: 104.9 kB / 0.4992 GB, free: 15.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.621e-05/0.1541, allocations: 79.22 kB / 0.4992 GB, free: 15.67 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1541, allocations: 0 / 0.4992 GB, free: 15.67 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000568/0.1547, allocations: 128 kB / 0.4994 GB, free: 15.55 MB / 398.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.001217/0.1559, allocations: 1.044 MB / 0.5004 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.573e-05/0.156, allocations: 4 kB / 0.5004 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.156, allocations: 4 kB / 0.5004 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.669e-06/0.156, allocations: 7.938 kB / 0.5004 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.1564, allocations: 455.7 kB / 0.5008 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.1569, allocations: 241.8 kB / 0.5011 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.1572, allocations: 0.669 MB / 0.5017 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.983e-06/0.1572, allocations: 0 / 0.5017 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.1572, allocations: 11.44 kB / 0.5017 GB, free: 13.03 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1572, allocations: 0 / 0.5017 GB, free: 13.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.1788, allocations: 3.963 MB / 0.5056 GB, free: 9.066 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/7.94, allocations: 0 / 0.5056 GB, free: 9.066 MB / 398.1 MB (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)