Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",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.001295/0.001295, allocations: 108 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.001309/0.001309, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.442/1.442, 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.2211/0.2211, allocations: 43.53 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.002014/0.002014, allocations: 71.88 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1038, allocations: 57.78 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001551/0.1054, allocations: 0.4987 MB / 499.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.1075, allocations: 1.598 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.526e-05/0.1076, allocations: 0 / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.527e-05/0.1076, allocations: 4 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.26e-06/0.1076, allocations: 0 / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008004/0.1084, allocations: 263.3 kB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.349e-05/0.1085, allocations: 4 kB / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.1085, allocations: 11.97 kB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.336e-05/0.1086, allocations: 0 / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.093e-05/0.1086, allocations: 0 / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-06/0.1086, allocations: 3.938 kB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006963/0.1093, allocations: 494.7 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.402e-06/0.1093, allocations: 3.938 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.633e-05/0.1093, allocations: 0 / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004277/0.1098, allocations: 307.3 kB / 0.4905 GB, free: 9.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1098, allocations: 0 / 0.4905 GB, free: 9.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1098, allocations: 0 / 0.4905 GB, free: 9.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1098, allocations: 0 / 0.4905 GB, free: 9.148 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.0003973/0.1102, allocations: 376.8 kB / 0.4908 GB, free: 8.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1102, allocations: 11.89 kB / 0.4908 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/0.1103, allocations: 38.69 kB / 0.4909 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.309e-05/0.1103, allocations: 4.922 kB / 0.4909 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.1104, allocations: 164.3 kB / 0.491 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1105, allocations: 4.375 kB / 0.491 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-06/0.1105, allocations: 384 / 0.491 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.891e-05/0.1105, allocations: 33.83 kB / 0.4911 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1106, allocations: 0 / 0.4911 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1106, allocations: 4 kB / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.1106, allocations: 3.938 kB / 0.4911 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.829e-05/0.1106, allocations: 7.984 kB / 0.4911 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.1107, allocations: 149.7 kB / 0.4912 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.252e-05/0.1108, allocations: 22.52 kB / 0.4913 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.1108, allocations: 8.953 kB / 0.4913 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/0.1108, allocations: 0 / 0.4913 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.587e-05/0.1109, allocations: 64.2 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.1109, allocations: 0 / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000156/0.1111, allocations: 63.39 kB / 0.4914 GB, free: 8.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.1111, allocations: 81.05 kB / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.744e-05/0.1112, allocations: 89.98 kB / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1112, allocations: 29.7 kB / 0.4916 GB, free: 7.785 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.015e-05/0.1112, allocations: 80.14 kB / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.1113, allocations: 4 kB / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.1113, allocations: 13.72 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1114, allocations: 310.8 kB / 0.492 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.1114, allocations: 4 kB / 0.492 GB, free: 7.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-06/0.1115, allocations: 3.984 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.457e-05/0.1115, allocations: 68.33 kB / 0.492 GB, free: 7.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1115, allocations: 0 / 0.492 GB, free: 7.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.054e-05/0.1116, allocations: 59.41 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.1116, allocations: 37.64 kB / 0.4921 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1117, allocations: 7.922 kB / 0.4921 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1117, allocations: 0 / 0.4921 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.1117, allocations: 0 / 0.4921 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1117, allocations: 0 / 0.4921 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.774e-05/0.1117, allocations: 4 kB / 0.4921 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.1117, allocations: 0 / 0.4921 GB, free: 7.152 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 8.888e-05/0.1118, allocations: 139.5 kB / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.1118, allocations: 7.938 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.076e-05/0.1118, allocations: 3.125 kB / 0.4923 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1119, allocations: 0 / 0.4923 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1119, allocations: 0 / 0.4923 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.1119, allocations: 0 / 0.4923 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.112, allocations: 145.7 kB / 0.4924 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.112, allocations: 0 / 0.4924 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-06/0.112, allocations: 11.88 kB / 0.4924 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.112, allocations: 7.938 kB / 0.4924 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.112, allocations: 0 / 0.4924 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.112, allocations: 0 / 0.4924 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.112, allocations: 0 / 0.4924 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.1121, allocations: 94.77 kB / 0.4925 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.1122, allocations: 85.05 kB / 0.4926 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.1122, allocations: 0 / 0.4926 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.073e-05/0.1122, allocations: 4 kB / 0.4926 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.1122, allocations: 8.031 kB / 0.4926 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1122, allocations: 7.969 kB / 0.4926 GB, free: 6.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.992e-05/0.1123, allocations: 75.28 kB / 0.4927 GB, free: 6.461 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1123, allocations: 0 / 0.4927 GB, free: 6.461 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.1126, allocations: 59.81 kB / 0.4928 GB, free: 6.402 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.0007199/0.1133, allocations: 0.7062 MB / 0.4935 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.593e-05/0.1134, allocations: 71.36 kB / 0.4935 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1134, allocations: 0 / 0.4935 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.392e-05/0.1135, allocations: 51.41 kB / 0.4936 GB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.1136, allocations: 4 kB / 0.4936 GB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.1139, allocations: 130.4 kB / 0.4937 GB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.1142, allocations: 0.6729 MB / 0.4944 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.889e-06/0.1142, allocations: 0 / 0.4944 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.251e-05/0.1142, allocations: 7.438 kB / 0.4944 GB, free: 4.637 MB / 382.1 MB Notification: Performance of SimCode: time 2.043e-06/0.1142, allocations: 4.125 kB / 0.4944 GB, free: 4.633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.1386, allocations: 2.097 MB / 0.4964 GB, free: 2.531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/7.739, allocations: 12 kB / 0.4964 GB, free: 2.52 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_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_TestMatrices.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1)