Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.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.TestVectors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors",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.001724/0.001724, allocations: 108.2 kB / 16.41 MB, free: 6.5 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.001866/0.001866, 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.418/1.418, 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.2232/0.2232, allocations: 43.53 MB / 314.1 MB, free: 464 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.002071/0.002071, allocations: 71.89 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1123, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001549/0.1139, allocations: 0.4909 MB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003022/0.1169, allocations: 1.972 MB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.1169, allocations: 0 / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.117, allocations: 0 / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.672e-06/0.117, allocations: 3.938 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.1193, allocations: 0.7123 MB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.296e-05/0.1193, allocations: 0 / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.1194, allocations: 7.984 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.779e-05/0.1194, allocations: 7.938 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.905e-05/0.1194, allocations: 3.984 kB / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.1194, allocations: 0 / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.1206, allocations: 0.6705 MB / 0.4912 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.115e-06/0.1207, allocations: 0 / 0.4912 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.1207, allocations: 0 / 0.4912 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007991/0.1215, allocations: 0.5651 MB / 0.4917 GB, free: 7.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1215, allocations: 0 / 0.4917 GB, free: 7.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1215, allocations: 4 kB / 0.4917 GB, free: 7.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.1215, allocations: 0 / 0.4917 GB, free: 7.863 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005435/0.1221, allocations: 408 kB / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1221, allocations: 15.89 kB / 0.4921 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.326e-05/0.1222, allocations: 30.75 kB / 0.4922 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.306e-05/0.1222, allocations: 0.9375 kB / 0.4922 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1223, allocations: 160.4 kB / 0.4923 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1223, allocations: 4.375 kB / 0.4923 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.1224, allocations: 4.375 kB / 0.4923 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.237e-05/0.1225, allocations: 37.77 kB / 0.4923 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1225, allocations: 0 / 0.4923 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1225, allocations: 3.984 kB / 0.4924 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1225, allocations: 0 / 0.4924 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.882e-05/0.1225, allocations: 4 kB / 0.4924 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.1227, allocations: 145.7 kB / 0.4925 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.389e-05/0.1227, allocations: 18.61 kB / 0.4925 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.994e-05/0.1228, allocations: 8.797 kB / 0.4925 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.1228, allocations: 7.938 kB / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.294e-05/0.1228, allocations: 60.2 kB / 0.4926 GB, free: 6.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.1228, allocations: 0 / 0.4926 GB, free: 6.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001892/0.123, allocations: 67.45 kB / 0.4927 GB, free: 6.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.1231, allocations: 77.11 kB / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.651e-05/0.1231, allocations: 89.86 kB / 0.4928 GB, free: 6.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.1232, allocations: 29.7 kB / 0.4928 GB, free: 6.488 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.1232, allocations: 84.27 kB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.1232, allocations: 0 / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.1233, allocations: 13.7 kB / 0.4929 GB, free: 6.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1234, allocations: 322.8 kB / 0.4932 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.1234, allocations: 0 / 0.4932 GB, free: 6.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-06/0.1235, allocations: 3.938 kB / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.285e-05/0.1235, allocations: 60.27 kB / 0.4933 GB, free: 5.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1235, allocations: 0 / 0.4933 GB, free: 5.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.141e-05/0.1236, allocations: 67.45 kB / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.1237, allocations: 37.64 kB / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1237, allocations: 0 / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1237, allocations: 0 / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.1237, allocations: 0 / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1237, allocations: 3.984 kB / 0.4934 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.669e-05/0.1237, allocations: 4 kB / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1237, allocations: 0 / 0.4934 GB, free: 5.852 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001042/0.1238, allocations: 135.5 kB / 0.4935 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.1239, allocations: 15.91 kB / 0.4936 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.484e-05/0.1239, allocations: 7.109 kB / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1239, allocations: 0 / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1239, allocations: 0 / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1239, allocations: 0 / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.124, allocations: 141.7 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.124, allocations: 0 / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.124, allocations: 4 kB / 0.4937 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.124, allocations: 3.938 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.124, allocations: 0 / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.1241, allocations: 7.984 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1241, allocations: 0 / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.723e-05/0.1242, allocations: 90.78 kB / 0.4938 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.1242, allocations: 81.05 kB / 0.4939 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.1242, allocations: 11.97 kB / 0.4939 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-06/0.1243, allocations: 0 / 0.4939 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.1243, allocations: 8 kB / 0.4939 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.1243, allocations: 0 / 0.4939 GB, free: 5.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.782e-05/0.1243, allocations: 79.31 kB / 0.494 GB, free: 5.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1243, allocations: 3.938 kB / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004265/0.1248, allocations: 127.7 kB / 0.4941 GB, free: 5.035 MB / 382.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001029/0.1258, allocations: 0.7879 MB / 0.4949 GB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.955e-05/0.1259, allocations: 55.41 kB / 0.4949 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1259, allocations: 0 / 0.4949 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.236e-05/0.126, allocations: 63.34 kB / 0.495 GB, free: 4.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.1261, allocations: 4 kB / 0.495 GB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.1265, allocations: 158.1 kB / 0.4951 GB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1268, allocations: 0.669 MB / 0.4958 GB, free: 3.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.941e-06/0.1269, allocations: 0 / 0.4958 GB, free: 3.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.51e-05/0.1269, allocations: 15.56 kB / 0.4958 GB, free: 3.164 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1269, allocations: 0 / 0.4958 GB, free: 3.164 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.1572, allocations: 4.651 MB / 0.5003 GB, free: 14.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.223, allocations: 23.48 kB / 0.5004 GB, free: 14.48 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_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_TestVectors.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1)