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.001255/0.001255, allocations: 111.4 kB / 16.41 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.001226/0.001226, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.413/1.413, 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.2001/0.2001, allocations: 43.53 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.001498/0.001498, allocations: 67.89 kB / 441.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1229, allocations: 57.78 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001766/0.1247, allocations: 0.4988 MB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003323/0.128, allocations: 2.218 MB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-06/0.1281, allocations: 0 / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.794e-06/0.1281, allocations: 0 / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.533e-06/0.1281, allocations: 0 / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.1303, allocations: 0.6233 MB / 0.4906 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.902e-05/0.1304, allocations: 12 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.022e-05/0.1304, allocations: 0 / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.1305, allocations: 11.92 kB / 0.4907 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.316e-05/0.1305, allocations: 11.98 kB / 0.4907 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-06/0.1305, allocations: 0 / 0.4907 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.1316, allocations: 0.6397 MB / 0.4913 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.674e-06/0.1316, allocations: 0 / 0.4913 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/0.1316, allocations: 0 / 0.4913 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007743/0.1324, allocations: 427.1 kB / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1324, allocations: 3.984 kB / 0.4917 GB, free: 7.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1324, allocations: 0 / 0.4917 GB, free: 7.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1324, 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.0004491/0.1329, allocations: 435.8 kB / 0.4921 GB, free: 7.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1329, allocations: 11.89 kB / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.348e-05/0.133, allocations: 110 kB / 0.4922 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.975e-05/0.1331, allocations: 76.22 kB / 0.4923 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.1332, allocations: 239.7 kB / 0.4925 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.984e-05/0.1333, allocations: 154.9 kB / 0.4927 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.345e-05/0.1334, allocations: 154.5 kB / 0.4928 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.479e-05/0.1335, allocations: 101 kB / 0.4929 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.1335, allocations: 83.28 kB / 0.493 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.447e-05/0.1336, allocations: 154.5 kB / 0.4932 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-05/0.1336, allocations: 150.6 kB / 0.4933 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.418e-05/0.1337, allocations: 158.5 kB / 0.4935 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.134, allocations: 438 kB / 0.4939 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.1342, allocations: 181 kB / 0.494 GB, free: 5.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.254e-05/0.1342, allocations: 80.14 kB / 0.4941 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.1342, allocations: 75.28 kB / 0.4942 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.1344, allocations: 135.5 kB / 0.4943 GB, free: 5.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1344, allocations: 0 / 0.4943 GB, free: 5.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.425e-05/0.1345, allocations: 37.64 kB / 0.4944 GB, free: 4.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.1346, allocations: 156.4 kB / 0.4945 GB, free: 4.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.865e-05/0.1347, allocations: 89.86 kB / 0.4946 GB, free: 4.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1347, allocations: 33.64 kB / 0.4946 GB, free: 4.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.1348, allocations: 84.12 kB / 0.4947 GB, free: 4.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-06/0.1348, allocations: 0 / 0.4947 GB, free: 4.574 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.1348, allocations: 17.72 kB / 0.4947 GB, free: 4.551 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1349, allocations: 314.8 kB / 0.495 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-06/0.135, allocations: 48 / 0.495 GB, free: 4.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.859e-05/0.135, allocations: 8 kB / 0.495 GB, free: 4.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.135, allocations: 75.28 kB / 0.4951 GB, free: 4.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.351e-05/0.1351, allocations: 75.28 kB / 0.4952 GB, free: 4.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.765e-05/0.1351, allocations: 37.62 kB / 0.4952 GB, free: 4.035 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.256e-05/0.1352, allocations: 83.22 kB / 0.4953 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.843e-05/0.1352, allocations: 75.28 kB / 0.4954 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.235e-05/0.1353, allocations: 154.6 kB / 0.4955 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.502e-05/0.1353, allocations: 83.22 kB / 0.4956 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.854e-05/0.1354, allocations: 158.5 kB / 0.4957 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.917e-05/0.1355, allocations: 79.22 kB / 0.4958 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.1355, allocations: 75.28 kB / 0.4959 GB, free: 3.336 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.0001207/0.1356, allocations: 272.3 kB / 0.4961 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.1357, allocations: 108.9 kB / 0.4962 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.727e-05/0.1358, allocations: 108 kB / 0.4964 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.579e-05/0.1358, allocations: 180.3 kB / 0.4965 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.332e-05/0.1359, allocations: 184.2 kB / 0.4967 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.857e-05/0.136, allocations: 184.2 kB / 0.4969 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.1362, allocations: 401.2 kB / 0.4973 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-05/0.1362, allocations: 104.9 kB / 0.4974 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.1363, allocations: 105 kB / 0.4975 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.988e-05/0.1364, allocations: 188.2 kB / 0.4976 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.827e-05/0.1364, allocations: 180.3 kB / 0.4978 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.839e-05/0.1365, allocations: 176.3 kB / 0.498 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.431e-05/0.1366, allocations: 184.2 kB / 0.4982 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.1367, allocations: 311.7 kB / 0.4985 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.1368, allocations: 186.1 kB / 0.4986 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.89e-05/0.1369, allocations: 180.2 kB / 0.4988 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.589e-05/0.137, allocations: 112.9 kB / 0.4989 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/0.1371, allocations: 184.2 kB / 0.4991 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.705e-05/0.1371, allocations: 104.9 kB / 0.4992 GB, free: 15.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.009e-05/0.1372, allocations: 79.22 kB / 0.4993 GB, free: 15.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1372, allocations: 0 / 0.4993 GB, free: 15.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005683/0.1377, allocations: 127.7 kB / 0.4994 GB, free: 15.52 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.001072/0.1388, allocations: 1.037 MB / 0.5004 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.166e-05/0.1389, allocations: 7.938 kB / 0.5004 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1389, allocations: 4 kB / 0.5004 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.1389, allocations: 0 / 0.5004 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.1393, allocations: 459.7 kB / 0.5008 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.1397, allocations: 241.5 kB / 0.5011 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.1399, allocations: 0.669 MB / 0.5017 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.583e-06/0.1399, allocations: 4 kB / 0.5017 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.28e-05/0.14, allocations: 7.438 kB / 0.5017 GB, free: 13.02 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.14, allocations: 0 / 0.5017 GB, free: 13.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.1612, allocations: 3.964 MB / 0.5056 GB, free: 9.047 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/7.702, allocations: 4 kB / 0.5056 GB, free: 9.043 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 & 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)