Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",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.001307/0.001307, allocations: 109 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.001477/0.001477, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.341/1.341, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.1977/0.1977, allocations: 43.52 MB / 314.1 MB, free: 460 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.00156/0.001561, allocations: 69.47 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0978/0.09937, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.00155/0.101, allocations: 498.8 kB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.1037, allocations: 2.136 MB / 0.4899 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.903e-05/0.1038, allocations: 0 / 0.4899 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.084e-05/0.1038, allocations: 0 / 0.4899 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.172e-06/0.1038, allocations: 0 / 0.4899 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.1057, allocations: 0.7209 MB / 0.4907 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.514e-05/0.1058, allocations: 4 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.1059, allocations: 7.984 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.253e-05/0.1059, allocations: 0 / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.803e-05/0.1059, allocations: 3.984 kB / 0.4907 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.16e-06/0.1059, allocations: 0 / 0.4907 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001946/0.1079, allocations: 1.502 MB / 0.4921 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.825e-06/0.1079, allocations: 4 kB / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.6e-05/0.1079, allocations: 0 / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.1094, allocations: 1.552 MB / 0.4937 GB, free: 5.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1095, allocations: 0 / 0.4937 GB, free: 5.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1095, allocations: 0 / 0.4937 GB, free: 5.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.1095, allocations: 0 / 0.4937 GB, free: 5.859 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.0006365/0.1101, allocations: 416.5 kB / 0.4941 GB, free: 5.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1102, allocations: 15.89 kB / 0.4941 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.754e-05/0.1102, allocations: 30.75 kB / 0.4941 GB, free: 5.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.333e-05/0.1102, allocations: 4.875 kB / 0.4941 GB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.8e-05/0.1103, allocations: 168.4 kB / 0.4943 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.1103, allocations: 4.375 kB / 0.4943 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.1103, allocations: 7.938 kB / 0.4943 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.827e-05/0.1104, allocations: 33.64 kB / 0.4943 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1104, allocations: 0 / 0.4943 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.1105, allocations: 0 / 0.4943 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.1105, allocations: 0 / 0.4943 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.1105, allocations: 4 kB / 0.4943 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000114/0.1106, allocations: 145.7 kB / 0.4944 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.81e-05/0.1107, allocations: 22.52 kB / 0.4945 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.1107, allocations: 12.95 kB / 0.4945 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.1107, allocations: 4 kB / 0.4945 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.1107, allocations: 60.2 kB / 0.4945 GB, free: 4.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.1107, allocations: 0 / 0.4945 GB, free: 4.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001541/0.1109, allocations: 67.38 kB / 0.4946 GB, free: 4.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.1109, allocations: 81.23 kB / 0.4947 GB, free: 4.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.964e-05/0.111, allocations: 89.86 kB / 0.4948 GB, free: 4.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.111, allocations: 25.7 kB / 0.4948 GB, free: 4.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.255e-05/0.111, allocations: 80.14 kB / 0.4949 GB, free: 4.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.1111, allocations: 8 kB / 0.4949 GB, free: 4.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.1111, allocations: 9.719 kB / 0.4949 GB, free: 4.355 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.1112, allocations: 314.8 kB / 0.4952 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.1112, allocations: 4 kB / 0.4952 GB, free: 4.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.785e-06/0.1112, allocations: 4 kB / 0.4952 GB, free: 4.031 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.576e-05/0.1113, allocations: 68.19 kB / 0.4953 GB, free: 3.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1113, allocations: 3.938 kB / 0.4953 GB, free: 3.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.448e-05/0.1114, allocations: 63.34 kB / 0.4953 GB, free: 3.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.1114, allocations: 33.7 kB / 0.4954 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1114, allocations: 0 / 0.4954 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1114, allocations: 0 / 0.4954 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.1114, allocations: 0 / 0.4954 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1114, allocations: 3.984 kB / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.754e-05/0.1115, allocations: 8.078 kB / 0.4954 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.1115, allocations: 4 kB / 0.4954 GB, free: 3.816 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 7.61e-05/0.1116, allocations: 135.5 kB / 0.4955 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/0.1116, allocations: 7.875 kB / 0.4955 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.185e-05/0.1116, allocations: 3.125 kB / 0.4955 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1116, allocations: 4 kB / 0.4955 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1116, allocations: 3.984 kB / 0.4955 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.1116, allocations: 0 / 0.4955 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.194e-05/0.1117, allocations: 153.6 kB / 0.4957 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1117, allocations: 4 kB / 0.4957 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1117, allocations: 3.938 kB / 0.4957 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1117, allocations: 4 kB / 0.4957 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.1117, allocations: 0 / 0.4957 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1117, allocations: 0 / 0.4957 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1117, allocations: 0 / 0.4957 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.833e-05/0.1118, allocations: 94.77 kB / 0.4958 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.1119, allocations: 77.11 kB / 0.4958 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.1119, allocations: 8.031 kB / 0.4958 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.002e-05/0.1119, allocations: 0 / 0.4958 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.1119, allocations: 0 / 0.4958 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.1119, allocations: 4 kB / 0.4959 GB, free: 3.211 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.41e-05/0.112, allocations: 75.28 kB / 0.4959 GB, free: 3.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.112, allocations: 0 / 0.4959 GB, free: 3.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008955/0.1129, allocations: 279.5 kB / 0.4962 GB, free: 2.863 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.001604/0.1145, allocations: 0.9391 MB / 0.4971 GB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.591e-05/0.1146, allocations: 59.41 kB / 0.4972 GB, free: 1.824 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1146, allocations: 0 / 0.4972 GB, free: 1.824 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.709e-05/0.1146, allocations: 51.41 kB / 0.4972 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.1148, allocations: 4 kB / 0.4972 GB, free: 1.758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.1153, allocations: 166.1 kB / 0.4974 GB, free: 1.555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.1155, allocations: 0.6808 MB / 0.498 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.51e-06/0.1155, allocations: 0 / 0.498 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.393e-05/0.1155, allocations: 7.438 kB / 0.498 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1155, allocations: 0 / 0.498 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.1407, allocations: 8.202 MB / 0.5061 GB, free: 8.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.328/7.469, allocations: 4.062 kB / 0.5061 GB, free: 8.617 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b_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_TestMatrices2b.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)