Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",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.001346/0.001346, allocations: 106.3 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.001533/0.001533, allocations: 189.5 kB / 17.34 MB, free: 5.73 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.303/1.303, 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.1953/0.1953, 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.001353/0.001353, allocations: 65.47 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09426/0.09562, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001482/0.09714, allocations: 0.4984 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.09967, allocations: 2.007 MB / 0.4898 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.778e-06/0.09969, allocations: 7.938 kB / 0.4898 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.041e-06/0.09971, allocations: 0 / 0.4898 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.062e-06/0.09973, allocations: 3.938 kB / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.1012, allocations: 0.5065 MB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.603e-05/0.1012, allocations: 0 / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.534e-05/0.1012, allocations: 3.984 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.574e-06/0.1013, allocations: 7.984 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.018e-05/0.1013, allocations: 4 kB / 0.4903 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.707e-06/0.1013, allocations: 0 / 0.4903 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.1024, allocations: 0.8771 MB / 0.4912 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.23e-06/0.1024, allocations: 0 / 0.4912 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.658e-06/0.1024, allocations: 0 / 0.4912 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008546/0.1033, allocations: 0.7873 MB / 0.492 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1033, allocations: 0 / 0.492 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1033, allocations: 3.938 kB / 0.492 GB, free: 7.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1033, allocations: 4 kB / 0.492 GB, free: 7.57 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000437/0.1038, allocations: 378.8 kB / 0.4923 GB, free: 7.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1038, allocations: 15.89 kB / 0.4924 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.081e-05/0.1039, allocations: 106 kB / 0.4925 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.852e-05/0.104, allocations: 76.22 kB / 0.4925 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1041, allocations: 243.6 kB / 0.4928 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.972e-05/0.1042, allocations: 150.9 kB / 0.4929 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.1042, allocations: 154.9 kB / 0.4931 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.851e-05/0.1043, allocations: 109.1 kB / 0.4932 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.1044, allocations: 75.28 kB / 0.4932 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.317e-05/0.1044, allocations: 150.6 kB / 0.4934 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.1045, allocations: 154.5 kB / 0.4935 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.874e-05/0.1045, allocations: 158.6 kB / 0.4937 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002252/0.1047, allocations: 442 kB / 0.4941 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.105e-05/0.1048, allocations: 173.1 kB / 0.4943 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.1049, allocations: 84.14 kB / 0.4943 GB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.1049, allocations: 79.22 kB / 0.4944 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.1049, allocations: 113.8 kB / 0.4945 GB, free: 4.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1049, allocations: 0 / 0.4945 GB, free: 4.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.767e-05/0.105, allocations: 29.7 kB / 0.4946 GB, free: 4.746 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.1051, allocations: 156.4 kB / 0.4947 GB, free: 4.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.79e-05/0.1051, allocations: 89.86 kB / 0.4948 GB, free: 4.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.1051, allocations: 25.7 kB / 0.4948 GB, free: 4.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.489e-05/0.1052, allocations: 80.14 kB / 0.4949 GB, free: 4.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.1052, allocations: 4 kB / 0.4949 GB, free: 4.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.1052, allocations: 9.719 kB / 0.4949 GB, free: 4.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.617e-05/0.1053, allocations: 318.8 kB / 0.4952 GB, free: 4.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.617e-06/0.1053, allocations: 3.938 kB / 0.4952 GB, free: 4.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.574e-05/0.1053, allocations: 0 / 0.4952 GB, free: 4.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.353e-05/0.1053, allocations: 83.2 kB / 0.4953 GB, free: 3.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.278e-05/0.1054, allocations: 75.28 kB / 0.4954 GB, free: 3.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.896e-05/0.1054, allocations: 29.7 kB / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.1055, allocations: 87.25 kB / 0.4955 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.1055, allocations: 79.27 kB / 0.4955 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.117e-05/0.1055, allocations: 154.5 kB / 0.4957 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.104e-05/0.1056, allocations: 83.28 kB / 0.4958 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-05/0.1056, allocations: 154.5 kB / 0.4959 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.325e-05/0.1057, allocations: 79.27 kB / 0.496 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.1057, allocations: 83.28 kB / 0.4961 GB, free: 3.117 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.009e-05/0.1058, allocations: 264.3 kB / 0.4963 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.1059, allocations: 108.9 kB / 0.4964 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.1059, allocations: 108 kB / 0.4965 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-05/0.106, allocations: 184.2 kB / 0.4967 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-05/0.106, allocations: 188.2 kB / 0.4969 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-05/0.1061, allocations: 176.3 kB / 0.4971 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.1063, allocations: 401.2 kB / 0.4974 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.608e-05/0.1063, allocations: 105 kB / 0.4975 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.902e-05/0.1063, allocations: 108.9 kB / 0.4976 GB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.647e-05/0.1064, allocations: 180.2 kB / 0.4978 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.1064, allocations: 184.3 kB / 0.498 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.491e-05/0.1065, allocations: 184.2 kB / 0.4982 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.27e-05/0.1065, allocations: 176.3 kB / 0.4983 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.1066, allocations: 311.8 kB / 0.4986 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.1067, allocations: 190 kB / 0.4988 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.1068, allocations: 176.3 kB / 0.499 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.1068, allocations: 109 kB / 0.4991 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.1069, allocations: 180.2 kB / 0.4993 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.1069, allocations: 105 kB / 0.4994 GB, free: 15.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.222e-05/0.107, allocations: 75.28 kB / 0.4994 GB, free: 15.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.107, allocations: 4 kB / 0.4994 GB, free: 15.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005365/0.1075, allocations: 151.6 kB / 0.4996 GB, free: 15.3 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0009072/0.1084, allocations: 0.9749 MB / 0.5005 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.102e-05/0.1085, allocations: 4 kB / 0.5005 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1085, allocations: 3.938 kB / 0.5005 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.1085, allocations: 0 / 0.5005 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.1088, allocations: 455.7 kB / 0.501 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.1092, allocations: 233.3 kB / 0.5012 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.1094, allocations: 0.669 MB / 0.5018 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.799e-06/0.1094, allocations: 4 kB / 0.5019 GB, free: 12.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.131e-05/0.1094, allocations: 7.438 kB / 0.5019 GB, free: 12.86 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1094, allocations: 0 / 0.5019 GB, free: 12.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.129, allocations: 4.253 MB / 0.506 GB, free: 8.605 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.443/7.572, allocations: 8.703 kB / 0.506 GB, free: 8.598 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_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_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1)