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.001084/0.001084, allocations: 100.1 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.001162/0.001162, allocations: 192.1 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.327/1.327, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1967/0.1967, allocations: 43.51 MB / 314.1 MB, free: 468 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.001587/0.001588, allocations: 67.91 kB / 441.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.112, allocations: 57.79 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001588/0.1136, allocations: 0.491 MB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003067/0.1167, allocations: 2.23 MB / 0.49 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-06/0.1167, allocations: 0 / 0.49 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.906e-06/0.1168, allocations: 0 / 0.49 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.609e-06/0.1168, allocations: 0 / 0.49 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.1188, allocations: 0.612 MB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.648e-05/0.1188, allocations: 4 kB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.896e-05/0.1188, allocations: 3.984 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.282e-05/0.1189, allocations: 15.94 kB / 0.4907 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.061e-05/0.119, allocations: 4 kB / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.318e-06/0.119, allocations: 0 / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009931/0.12, allocations: 0.6474 MB / 0.4913 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.12, allocations: 3.984 kB / 0.4913 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.12, allocations: 4 kB / 0.4913 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000612/0.1206, allocations: 415.4 kB / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1206, allocations: 0 / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1206, allocations: 3.938 kB / 0.4917 GB, free: 7.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1207, allocations: 0 / 0.4917 GB, free: 7.883 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.0004257/0.1211, allocations: 428.7 kB / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1211, allocations: 11.89 kB / 0.4921 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.022e-05/0.1212, allocations: 118 kB / 0.4922 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.1213, allocations: 76.22 kB / 0.4923 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.1214, allocations: 239.7 kB / 0.4925 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.99e-05/0.1215, allocations: 150.9 kB / 0.4927 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.1215, allocations: 158.5 kB / 0.4928 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.717e-05/0.1216, allocations: 101 kB / 0.4929 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.1216, allocations: 83.27 kB / 0.493 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.443e-05/0.1217, allocations: 154.6 kB / 0.4931 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-05/0.1218, allocations: 150.6 kB / 0.4933 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.217e-05/0.1218, allocations: 154.5 kB / 0.4934 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.1221, allocations: 445.9 kB / 0.4939 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.304e-05/0.1222, allocations: 177.1 kB / 0.494 GB, free: 5.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.513e-05/0.1223, allocations: 80.14 kB / 0.4941 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.1223, allocations: 75.28 kB / 0.4942 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.036e-05/0.1224, allocations: 131.5 kB / 0.4943 GB, free: 5.016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.574e-06/0.1224, allocations: 3.938 kB / 0.4943 GB, free: 5.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.635e-05/0.1225, allocations: 41.64 kB / 0.4944 GB, free: 4.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.1225, allocations: 156.3 kB / 0.4945 GB, free: 4.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.568e-05/0.1226, allocations: 97.84 kB / 0.4946 GB, free: 4.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.1226, allocations: 25.7 kB / 0.4946 GB, free: 4.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.1226, allocations: 80.14 kB / 0.4947 GB, free: 4.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-06/0.1226, allocations: 0 / 0.4947 GB, free: 4.574 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.1227, allocations: 13.72 kB / 0.4947 GB, free: 4.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1228, allocations: 314.8 kB / 0.495 GB, free: 4.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-06/0.1228, allocations: 4.047 kB / 0.495 GB, free: 4.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.547e-05/0.1228, allocations: 4 kB / 0.495 GB, free: 4.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.496e-05/0.1229, allocations: 75.28 kB / 0.4951 GB, free: 4.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-05/0.1229, allocations: 75.28 kB / 0.4952 GB, free: 4.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.762e-05/0.1229, allocations: 37.58 kB / 0.4952 GB, free: 4.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.123, allocations: 83.27 kB / 0.4953 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.082e-05/0.123, allocations: 79.28 kB / 0.4953 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.592e-05/0.1231, allocations: 162.5 kB / 0.4955 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.937e-05/0.1231, allocations: 75.28 kB / 0.4956 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-05/0.1232, allocations: 150.6 kB / 0.4957 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.597e-05/0.1232, allocations: 83.22 kB / 0.4958 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.1233, allocations: 75.28 kB / 0.4959 GB, free: 3.34 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.0001139/0.1234, allocations: 264.3 kB / 0.4961 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.7e-05/0.1235, allocations: 116.8 kB / 0.4962 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.136e-05/0.1235, allocations: 108.1 kB / 0.4963 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-05/0.1236, allocations: 176.3 kB / 0.4965 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.52e-05/0.1237, allocations: 184.2 kB / 0.4967 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.954e-05/0.1237, allocations: 176.3 kB / 0.4968 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.124, allocations: 413.1 kB / 0.4972 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-05/0.124, allocations: 105 kB / 0.4973 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.1241, allocations: 101 kB / 0.4974 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.546e-05/0.1241, allocations: 180.2 kB / 0.4976 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.146e-05/0.1242, allocations: 184.2 kB / 0.4978 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.301e-05/0.1243, allocations: 184.2 kB / 0.498 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.368e-05/0.1243, allocations: 180.3 kB / 0.4981 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.1245, allocations: 311.7 kB / 0.4984 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.1246, allocations: 182.1 kB / 0.4986 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.914e-05/0.1246, allocations: 184.2 kB / 0.4988 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/0.1247, allocations: 109 kB / 0.4989 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.1248, allocations: 184.1 kB / 0.4991 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/0.1249, allocations: 105 kB / 0.4992 GB, free: 15.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.964e-05/0.1249, allocations: 79.28 kB / 0.4992 GB, free: 15.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1249, allocations: 0 / 0.4992 GB, free: 15.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005213/0.1254, allocations: 127.9 kB / 0.4994 GB, free: 15.54 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.001085/0.1265, allocations: 1.049 MB / 0.5004 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.155e-05/0.1266, allocations: 0 / 0.5004 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1266, allocations: 4 kB / 0.5004 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.1266, allocations: 0 / 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.0003332/0.1269, allocations: 459.7 kB / 0.5008 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.1274, allocations: 237.8 kB / 0.5011 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.1276, allocations: 0.669 MB / 0.5017 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.891e-06/0.1276, allocations: 0 / 0.5017 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.1277, allocations: 15.44 kB / 0.5017 GB, free: 13.02 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.1277, allocations: 0 / 0.5017 GB, free: 13.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.149, allocations: 3.968 MB / 0.5056 GB, free: 9.051 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/7.927, allocations: 4.062 kB / 0.5056 GB, free: 9.047 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)