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.001555/0.001555, allocations: 110.5 kB / 16.41 MB, free: 6.488 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.001344/0.001345, allocations: 188.1 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.48/1.48, 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.2287/0.2287, allocations: 43.52 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.002247/0.002247, allocations: 67.91 kB / 441.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1154, allocations: 57.79 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001606/0.117, allocations: 498.8 kB / 499.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003234/0.1203, allocations: 2.226 MB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-06/0.1203, allocations: 0 / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.256e-06/0.1203, allocations: 4 kB / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.502e-06/0.1203, allocations: 0 / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.1223, allocations: 0.6117 MB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.052e-05/0.1224, allocations: 8 kB / 0.4906 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.005e-05/0.1224, allocations: 3.984 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.759e-05/0.1225, allocations: 11.92 kB / 0.4907 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.173e-05/0.1226, allocations: 8 kB / 0.4907 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-06/0.1226, allocations: 0 / 0.4907 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.1236, allocations: 0.6436 MB / 0.4913 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.296e-06/0.1236, allocations: 3.984 kB / 0.4913 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.125e-05/0.1236, allocations: 4 kB / 0.4913 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006077/0.1243, allocations: 423.2 kB / 0.4917 GB, free: 7.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1243, allocations: 3.938 kB / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1243, allocations: 0 / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1243, allocations: 3.938 kB / 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.0004367/0.1247, allocations: 435.9 kB / 0.4921 GB, free: 7.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1248, allocations: 11.89 kB / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.544e-05/0.1248, allocations: 106 kB / 0.4922 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.801e-05/0.1249, allocations: 80.22 kB / 0.4923 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.1251, allocations: 239.7 kB / 0.4925 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.359e-05/0.1251, allocations: 150.9 kB / 0.4927 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.946e-05/0.1252, allocations: 154.5 kB / 0.4928 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.433e-05/0.1253, allocations: 105 kB / 0.4929 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.164e-05/0.1253, allocations: 79.28 kB / 0.493 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-05/0.1254, allocations: 158.5 kB / 0.4932 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.776e-05/0.1255, allocations: 154.6 kB / 0.4933 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.531e-05/0.1256, allocations: 150.6 kB / 0.4935 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.1259, allocations: 442 kB / 0.4939 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.126, allocations: 173.1 kB / 0.494 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/0.1261, allocations: 88.12 kB / 0.4941 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.1261, allocations: 83.2 kB / 0.4942 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.608e-05/0.1262, allocations: 135.5 kB / 0.4943 GB, free: 5.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.1262, allocations: 3.938 kB / 0.4943 GB, free: 5 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.413e-05/0.1263, allocations: 29.7 kB / 0.4944 GB, free: 4.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.053e-05/0.1264, allocations: 156.4 kB / 0.4945 GB, free: 4.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.336e-05/0.1264, allocations: 93.8 kB / 0.4946 GB, free: 4.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1265, allocations: 25.7 kB / 0.4946 GB, free: 4.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.1265, allocations: 80.14 kB / 0.4947 GB, free: 4.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-06/0.1265, allocations: 0 / 0.4947 GB, free: 4.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.1266, allocations: 17.72 kB / 0.4947 GB, free: 4.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1267, allocations: 318.8 kB / 0.495 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-06/0.1267, allocations: 48 / 0.495 GB, free: 4.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.658e-05/0.1267, allocations: 11.94 kB / 0.495 GB, free: 4.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.409e-05/0.1268, allocations: 75.28 kB / 0.4951 GB, free: 4.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-05/0.1268, allocations: 75.28 kB / 0.4952 GB, free: 4.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.712e-05/0.1269, allocations: 33.64 kB / 0.4952 GB, free: 4.035 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.1269, allocations: 79.28 kB / 0.4953 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.792e-05/0.127, allocations: 79.31 kB / 0.4954 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.681e-05/0.127, allocations: 158.5 kB / 0.4955 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.024e-05/0.1271, allocations: 75.28 kB / 0.4956 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.777e-05/0.1272, allocations: 158.5 kB / 0.4957 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.1273, allocations: 79.28 kB / 0.4958 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.1274, allocations: 79.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.00015/0.1275, allocations: 264.3 kB / 0.4961 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/0.1276, allocations: 112.9 kB / 0.4962 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/0.1277, allocations: 104.1 kB / 0.4963 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-05/0.1277, allocations: 184.2 kB / 0.4965 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.026e-05/0.1278, allocations: 180.3 kB / 0.4967 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-05/0.1279, allocations: 184.3 kB / 0.4969 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.1282, allocations: 401.1 kB / 0.4973 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.465e-05/0.1282, allocations: 105 kB / 0.4974 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.701e-05/0.1283, allocations: 108.9 kB / 0.4975 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.507e-05/0.1284, allocations: 180.3 kB / 0.4976 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.715e-05/0.1285, allocations: 180.3 kB / 0.4978 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-05/0.1286, allocations: 184.2 kB / 0.498 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.811e-05/0.1287, allocations: 184.2 kB / 0.4982 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.1288, allocations: 307.7 kB / 0.4984 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.51e-05/0.1289, allocations: 182 kB / 0.4986 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-05/0.129, allocations: 184.2 kB / 0.4988 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.1291, allocations: 109 kB / 0.4989 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.1292, allocations: 180.2 kB / 0.4991 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.368e-05/0.1293, allocations: 108.9 kB / 0.4992 GB, free: 15.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.719e-05/0.1293, allocations: 75.28 kB / 0.4992 GB, free: 15.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1293, allocations: 0 / 0.4992 GB, free: 15.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005055/0.1299, allocations: 135.6 kB / 0.4994 GB, free: 15.53 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.001147/0.131, allocations: 1.049 MB / 0.5004 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.239e-05/0.1311, allocations: 0 / 0.5004 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1311, allocations: 0 / 0.5004 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.1311, 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.0003788/0.1315, 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.0004297/0.1319, allocations: 249.4 kB / 0.5011 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.1322, allocations: 0.6729 MB / 0.5017 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.316e-06/0.1322, allocations: 3.984 kB / 0.5017 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.32e-05/0.1322, allocations: 7.438 kB / 0.5017 GB, free: 13.01 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1322, allocations: 0 / 0.5017 GB, free: 13.01 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.1592, allocations: 3.957 MB / 0.5056 GB, free: 9.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.39/8.55, allocations: 4 kB / 0.5056 GB, free: 9.051 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)