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.001828/0.001828, allocations: 105.3 kB / 16.4 MB, free: 6.457 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.002001/0.002001, 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.38/1.38, 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.2106/0.2106, allocations: 43.53 MB / 314.1 MB, free: 448 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.001972/0.001972, allocations: 73.44 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1101, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001617/0.1117, allocations: 0.4949 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003278/0.115, allocations: 2.136 MB / 0.49 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.063e-05/0.1151, allocations: 3.938 kB / 0.49 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.1151, allocations: 0 / 0.49 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.961e-06/0.1151, allocations: 0 / 0.49 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.1171, allocations: 0.721 MB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.938e-05/0.1172, allocations: 4 kB / 0.4907 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.1172, allocations: 0 / 0.4907 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.653e-05/0.1172, allocations: 3.984 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.525e-05/0.1173, allocations: 3.984 kB / 0.4907 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.691e-06/0.1173, allocations: 0 / 0.4907 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.1195, allocations: 1.502 MB / 0.4921 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.1195, allocations: 0 / 0.4921 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.1195, allocations: 0 / 0.4921 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.1212, allocations: 1.552 MB / 0.4937 GB, free: 5.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1212, allocations: 0 / 0.4937 GB, free: 5.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1212, allocations: 0 / 0.4937 GB, free: 5.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1212, allocations: 0 / 0.4937 GB, free: 5.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.0006257/0.1218, allocations: 420.5 kB / 0.4941 GB, free: 5.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.1219, allocations: 19.83 kB / 0.4941 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.1219, allocations: 34.69 kB / 0.4941 GB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.122, allocations: 4.938 kB / 0.4941 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.1221, allocations: 160.4 kB / 0.4943 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1221, allocations: 4.359 kB / 0.4943 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.1221, allocations: 3.938 kB / 0.4943 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.802e-05/0.1222, allocations: 33.7 kB / 0.4943 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1222, allocations: 0 / 0.4943 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-06/0.1222, allocations: 0 / 0.4943 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.1222, allocations: 0 / 0.4943 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.771e-05/0.1223, allocations: 4 kB / 0.4943 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.1224, allocations: 145.7 kB / 0.4944 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.557e-05/0.1225, allocations: 26.53 kB / 0.4945 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.1225, allocations: 12.86 kB / 0.4945 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.1225, allocations: 0 / 0.4945 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/0.1226, allocations: 60.27 kB / 0.4945 GB, free: 4.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.1226, allocations: 0 / 0.4945 GB, free: 4.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001616/0.1227, allocations: 59.41 kB / 0.4946 GB, free: 4.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.1228, allocations: 89.16 kB / 0.4947 GB, free: 4.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.471e-05/0.1229, allocations: 89.86 kB / 0.4948 GB, free: 4.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1229, allocations: 29.7 kB / 0.4948 GB, free: 4.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.1229, allocations: 80.14 kB / 0.4949 GB, free: 4.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.1229, allocations: 0 / 0.4949 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.123, allocations: 17.66 kB / 0.4949 GB, free: 4.355 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1231, allocations: 314.8 kB / 0.4952 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-06/0.1231, allocations: 4 kB / 0.4952 GB, free: 4.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-06/0.1231, allocations: 4 kB / 0.4952 GB, free: 4.031 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.962e-05/0.1232, allocations: 60.27 kB / 0.4953 GB, free: 3.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1232, allocations: 0 / 0.4953 GB, free: 3.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.961e-05/0.1233, allocations: 75.27 kB / 0.4953 GB, free: 3.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.1233, allocations: 29.7 kB / 0.4954 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1233, allocations: 0 / 0.4954 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1234, allocations: 0 / 0.4954 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.1234, allocations: 0 / 0.4954 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1234, allocations: 0 / 0.4954 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.1234, allocations: 8.094 kB / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.1234, allocations: 3.938 kB / 0.4954 GB, free: 3.824 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.75e-05/0.1235, allocations: 139.5 kB / 0.4955 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.1235, allocations: 7.938 kB / 0.4955 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.554e-05/0.1235, allocations: 3.125 kB / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1235, allocations: 0 / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1236, allocations: 0 / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1236, allocations: 0 / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.1237, allocations: 157.6 kB / 0.4957 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1237, allocations: 4 kB / 0.4957 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-06/0.1237, allocations: 4 kB / 0.4957 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1237, allocations: 0 / 0.4957 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1237, allocations: 3.984 kB / 0.4957 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1238, allocations: 0 / 0.4957 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1238, allocations: 0 / 0.4957 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.1239, allocations: 98.7 kB / 0.4958 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.1239, allocations: 77.14 kB / 0.4958 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.1239, allocations: 4 kB / 0.4958 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-06/0.124, allocations: 0 / 0.4958 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.124, allocations: 4 kB / 0.4959 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.124, allocations: 0 / 0.4959 GB, free: 3.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.915e-05/0.124, allocations: 75.28 kB / 0.4959 GB, free: 3.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.124, allocations: 0 / 0.4959 GB, free: 3.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008017/0.1248, allocations: 279.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.001604/0.1265, allocations: 0.935 MB / 0.4971 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.1266, allocations: 67.33 kB / 0.4972 GB, free: 1.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1266, allocations: 0 / 0.4972 GB, free: 1.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.555e-05/0.1266, allocations: 55.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.0001215/0.1268, allocations: 0 / 0.4972 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.1272, allocations: 162.2 kB / 0.4974 GB, free: 1.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.1275, allocations: 0.6769 MB / 0.498 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.111e-06/0.1275, allocations: 0 / 0.498 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.409e-05/0.1276, allocations: 7.438 kB / 0.498 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1276, allocations: 0 / 0.498 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/0.1607, allocations: 8.207 MB / 0.5061 GB, free: 8.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.036/8.196, 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)