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.001557/0.001557, allocations: 103.7 kB / 16.41 MB, free: 6.465 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.001707/0.001707, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.597/1.597, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2055/0.2055, allocations: 43.52 MB / 314.1 MB, free: 452 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.00188/0.00188, allocations: 73.47 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1179, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001736/0.1197, allocations: 0.4948 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003222/0.123, allocations: 2.132 MB / 0.4899 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.966e-05/0.123, allocations: 0 / 0.4899 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.1231, allocations: 0 / 0.4899 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.642e-06/0.1231, allocations: 0 / 0.4899 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.1255, allocations: 0.7248 MB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.039e-05/0.1256, allocations: 7.938 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.1256, allocations: 0 / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.714e-05/0.1257, allocations: 0 / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.346e-05/0.1257, allocations: 3.938 kB / 0.4907 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.272e-06/0.1257, allocations: 0 / 0.4907 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.1281, allocations: 1.506 MB / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.1282, allocations: 0 / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.1282, allocations: 7.984 kB / 0.4921 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.1304, allocations: 1.544 MB / 0.4937 GB, free: 5.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1304, allocations: 0 / 0.4937 GB, free: 5.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.1304, allocations: 0 / 0.4937 GB, free: 5.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.1305, 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.0008833/0.1313, allocations: 416.5 kB / 0.4941 GB, free: 5.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.1314, allocations: 19.88 kB / 0.4941 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.27e-05/0.1315, allocations: 30.75 kB / 0.4941 GB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.1315, allocations: 8.875 kB / 0.4941 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.1316, allocations: 160.4 kB / 0.4943 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1316, allocations: 4.375 kB / 0.4943 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.1316, allocations: 7.938 kB / 0.4943 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.1317, allocations: 29.64 kB / 0.4943 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1318, allocations: 0 / 0.4943 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.1318, allocations: 0 / 0.4943 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1318, allocations: 0 / 0.4943 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.243e-05/0.1318, allocations: 4 kB / 0.4943 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.132, allocations: 149.7 kB / 0.4944 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.522e-05/0.1321, allocations: 22.55 kB / 0.4945 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.603e-05/0.1321, allocations: 12.86 kB / 0.4945 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.1321, allocations: 7.922 kB / 0.4945 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.1322, allocations: 56.27 kB / 0.4945 GB, free: 4.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/0.1322, allocations: 0 / 0.4945 GB, free: 4.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001998/0.1324, allocations: 67.45 kB / 0.4946 GB, free: 4.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.1324, allocations: 77.11 kB / 0.4947 GB, free: 4.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.316e-05/0.1325, allocations: 93.86 kB / 0.4948 GB, free: 4.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1325, allocations: 25.7 kB / 0.4948 GB, free: 4.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.1326, allocations: 84.14 kB / 0.4949 GB, free: 4.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.1326, allocations: 0 / 0.4949 GB, free: 4.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.1326, allocations: 9.719 kB / 0.4949 GB, free: 4.359 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1327, allocations: 322.8 kB / 0.4952 GB, free: 4.035 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.1328, allocations: 4.125 kB / 0.4952 GB, free: 4.031 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.095e-05/0.1328, allocations: 7.938 kB / 0.4952 GB, free: 4.023 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.805e-05/0.1328, allocations: 60.27 kB / 0.4953 GB, free: 3.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1328, allocations: 0 / 0.4953 GB, free: 3.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.784e-05/0.1329, allocations: 71.28 kB / 0.4953 GB, free: 3.867 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/0.133, allocations: 33.69 kB / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.133, allocations: 0 / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.133, allocations: 0 / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.133, allocations: 0 / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.133, allocations: 4.094 kB / 0.4954 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/0.1331, allocations: 4 kB / 0.4954 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.1331, allocations: 0 / 0.4954 GB, free: 3.82 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 9.534e-05/0.1332, allocations: 135.5 kB / 0.4955 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.1332, allocations: 11.88 kB / 0.4955 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.625e-05/0.1332, allocations: 3.125 kB / 0.4955 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1332, allocations: 3.938 kB / 0.4955 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1332, allocations: 0 / 0.4955 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1332, allocations: 3.984 kB / 0.4955 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.1333, allocations: 157.6 kB / 0.4957 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1333, allocations: 4 kB / 0.4957 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.1334, allocations: 0 / 0.4957 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.1334, allocations: 0 / 0.4957 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1334, allocations: 0 / 0.4957 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1334, allocations: 0 / 0.4957 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1334, allocations: 0 / 0.4957 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.1335, allocations: 94.77 kB / 0.4958 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.1335, allocations: 81.14 kB / 0.4958 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.1336, allocations: 0 / 0.4958 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.251e-05/0.1336, allocations: 4 kB / 0.4958 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.1336, allocations: 3.984 kB / 0.4958 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.1336, allocations: 0 / 0.4958 GB, free: 3.215 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.127e-05/0.1336, allocations: 75.28 kB / 0.4959 GB, free: 3.141 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1336, allocations: 0 / 0.4959 GB, free: 3.141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001101/0.1347, allocations: 275.5 kB / 0.4962 GB, free: 2.871 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.002214/0.137, allocations: 0.9473 MB / 0.4971 GB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.1371, allocations: 55.41 kB / 0.4972 GB, free: 1.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1371, allocations: 0 / 0.4972 GB, free: 1.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.414e-05/0.1372, allocations: 63.33 kB / 0.4972 GB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.1373, allocations: 0 / 0.4972 GB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006451/0.138, allocations: 170.2 kB / 0.4974 GB, free: 1.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.1382, allocations: 0.6768 MB / 0.498 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.943e-06/0.1383, allocations: 0 / 0.498 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.1383, allocations: 7.438 kB / 0.4981 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1383, allocations: 0 / 0.4981 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.1685, allocations: 8.204 MB / 0.5061 GB, free: 8.613 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.061, allocations: 0 / 0.5061 GB, free: 8.613 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)