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.001135/0.001135, allocations: 105.6 kB / 16.41 MB, free: 6.434 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.001106/0.001106, allocations: 185 kB / 17.34 MB, free: 5.734 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.307/1.307, 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.1964/0.1964, allocations: 43.52 MB / 314.1 MB, free: 476 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.001596/0.001596, allocations: 67.91 kB / 441.3 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09926/0.1009, allocations: 57.79 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001576/0.1025, allocations: 498.8 kB / 499.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.1045, allocations: 1.602 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.467e-05/0.1045, allocations: 0 / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.13e-05/0.1045, allocations: 0 / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.14e-06/0.1045, allocations: 0 / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008428/0.1054, allocations: 275.2 kB / 0.4897 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.362e-05/0.1054, allocations: 4 kB / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.1055, allocations: 0 / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.325e-05/0.1055, allocations: 0 / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.123e-05/0.1055, allocations: 4 kB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.37e-06/0.1055, allocations: 3.938 kB / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006558/0.1062, allocations: 498.4 kB / 0.4902 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.474e-06/0.1062, allocations: 0 / 0.4902 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.1062, allocations: 0 / 0.4902 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.1067, allocations: 307.3 kB / 0.4905 GB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.1067, allocations: 7.938 kB / 0.4905 GB, free: 9.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1067, allocations: 0 / 0.4905 GB, free: 9.156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1067, allocations: 0 / 0.4905 GB, free: 9.156 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.0003477/0.1071, allocations: 376.8 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1071, allocations: 11.89 kB / 0.4908 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.1071, allocations: 30.75 kB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.384e-05/0.1072, allocations: 4.938 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.67e-05/0.1072, allocations: 164.4 kB / 0.491 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.1073, allocations: 4.375 kB / 0.491 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.1073, allocations: 384 / 0.491 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.842e-05/0.1074, allocations: 41.81 kB / 0.4911 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.1074, allocations: 3.938 kB / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.1074, allocations: 0 / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1074, allocations: 0 / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.738e-05/0.1074, allocations: 3.938 kB / 0.4911 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.1075, allocations: 149.7 kB / 0.4912 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.033e-05/0.1076, allocations: 18.58 kB / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.379e-05/0.1076, allocations: 4.859 kB / 0.4913 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.762e-06/0.1076, allocations: 0 / 0.4913 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.1077, allocations: 72.25 kB / 0.4913 GB, free: 8.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.1077, allocations: 0 / 0.4913 GB, free: 8.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.1078, allocations: 63.34 kB / 0.4914 GB, free: 8.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.1079, allocations: 77.11 kB / 0.4915 GB, free: 7.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.34e-05/0.1079, allocations: 93.98 kB / 0.4915 GB, free: 7.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.1079, allocations: 25.7 kB / 0.4916 GB, free: 7.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.839e-05/0.108, allocations: 84.12 kB / 0.4916 GB, free: 7.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.108, allocations: 0 / 0.4916 GB, free: 7.719 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.108, allocations: 17.72 kB / 0.4917 GB, free: 7.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.1081, allocations: 310.8 kB / 0.492 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-06/0.1081, allocations: 0 / 0.492 GB, free: 7.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-06/0.1081, allocations: 4 kB / 0.492 GB, free: 7.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.1082, allocations: 64.33 kB / 0.492 GB, free: 7.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1082, allocations: 0 / 0.492 GB, free: 7.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.236e-05/0.1083, allocations: 71.33 kB / 0.4921 GB, free: 7.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.1083, allocations: 37.64 kB / 0.4921 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1083, allocations: 0 / 0.4921 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1083, allocations: 0 / 0.4921 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.1083, allocations: 0 / 0.4921 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1084, allocations: 0 / 0.4921 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.491e-05/0.1084, allocations: 0 / 0.4921 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.1084, allocations: 0 / 0.4921 GB, free: 7.176 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.204e-05/0.1085, allocations: 147.5 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-06/0.1085, allocations: 7.875 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.087e-05/0.1085, allocations: 3.125 kB / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1085, allocations: 0 / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1085, allocations: 4 kB / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1085, allocations: 0 / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.43e-05/0.1086, allocations: 145.6 kB / 0.4924 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1086, allocations: 0 / 0.4924 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.763e-06/0.1086, allocations: 3.984 kB / 0.4924 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1086, allocations: 7.938 kB / 0.4924 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.1086, allocations: 4 kB / 0.4924 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1086, allocations: 0 / 0.4924 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.1086, allocations: 3.984 kB / 0.4924 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.252e-05/0.1087, allocations: 98.78 kB / 0.4925 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.1088, allocations: 85.03 kB / 0.4926 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.1088, allocations: 0 / 0.4926 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-06/0.1088, allocations: 0 / 0.4926 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.1088, allocations: 8.016 kB / 0.4926 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.1088, allocations: 4 kB / 0.4926 GB, free: 6.551 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.619e-05/0.1089, allocations: 75.28 kB / 0.4927 GB, free: 6.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1089, allocations: 0 / 0.4927 GB, free: 6.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002979/0.1092, allocations: 63.8 kB / 0.4928 GB, free: 6.414 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.0006331/0.1098, allocations: 0.7177 MB / 0.4935 GB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.629e-05/0.1099, allocations: 59.41 kB / 0.4935 GB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1099, allocations: 0 / 0.4935 GB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.913e-05/0.11, allocations: 55.41 kB / 0.4936 GB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.1101, allocations: 4 kB / 0.4936 GB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002931/0.1104, allocations: 138.3 kB / 0.4937 GB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.1106, allocations: 0.669 MB / 0.4944 GB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.234e-06/0.1106, allocations: 0 / 0.4944 GB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.177e-05/0.1106, allocations: 11.38 kB / 0.4944 GB, free: 4.641 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1106, allocations: 4.125 kB / 0.4944 GB, free: 4.637 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.1275, allocations: 2.092 MB / 0.4964 GB, free: 2.539 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.968/7.096, allocations: 8 kB / 0.4964 GB, free: 2.531 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)