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.001517/0.001517, allocations: 107.8 kB / 16.41 MB, free: 6.484 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.001683/0.001683, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.327/1.327, 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.2007/0.2007, 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.001612/0.001612, allocations: 68.28 kB / 441.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1058, allocations: 57.8 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001658/0.1075, allocations: 490.6 kB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003226/0.1108, allocations: 2.034 MB / 0.4898 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.649e-06/0.1108, allocations: 4 kB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.198e-06/0.1109, allocations: 0 / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.162e-06/0.1109, allocations: 0 / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.1125, allocations: 0.5026 MB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.939e-05/0.1125, allocations: 0 / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.911e-05/0.1125, allocations: 3.938 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.648e-06/0.1126, allocations: 4 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.204e-05/0.1126, allocations: 4 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.478e-06/0.1126, allocations: 0 / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.1139, allocations: 0.8772 MB / 0.4912 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.264e-06/0.1139, allocations: 3.938 kB / 0.4912 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.45e-05/0.1139, allocations: 0 / 0.4912 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.115, allocations: 0.7836 MB / 0.492 GB, free: 7.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.115, allocations: 0 / 0.492 GB, free: 7.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.115, allocations: 0 / 0.492 GB, free: 7.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.115, allocations: 4 kB / 0.492 GB, free: 7.602 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.0004704/0.1155, allocations: 375.6 kB / 0.4923 GB, free: 7.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.1156, allocations: 15.89 kB / 0.4923 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.993e-05/0.1156, allocations: 106 kB / 0.4924 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.1157, allocations: 76.22 kB / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.1158, allocations: 239.6 kB / 0.4927 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.077e-05/0.1159, allocations: 154.9 kB / 0.4929 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.699e-05/0.116, allocations: 154.9 kB / 0.493 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.034e-05/0.116, allocations: 109.1 kB / 0.4931 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/0.1161, allocations: 75.28 kB / 0.4932 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.605e-05/0.1161, allocations: 154.5 kB / 0.4934 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.19e-05/0.1162, allocations: 150.6 kB / 0.4935 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.478e-05/0.1163, allocations: 154.6 kB / 0.4937 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.1166, allocations: 445.9 kB / 0.4941 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.118e-05/0.1167, allocations: 169.1 kB / 0.4942 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.001e-05/0.1167, allocations: 80.14 kB / 0.4943 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.1168, allocations: 79.28 kB / 0.4944 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.123e-05/0.1168, allocations: 113.8 kB / 0.4945 GB, free: 4.824 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.1169, allocations: 0 / 0.4945 GB, free: 4.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.554e-05/0.1169, allocations: 33.64 kB / 0.4945 GB, free: 4.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/0.117, allocations: 156.4 kB / 0.4947 GB, free: 4.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.325e-05/0.1171, allocations: 97.8 kB / 0.4948 GB, free: 4.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1171, allocations: 25.7 kB / 0.4948 GB, free: 4.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.1171, allocations: 88.12 kB / 0.4949 GB, free: 4.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.1171, allocations: 0 / 0.4949 GB, free: 4.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.1172, allocations: 9.719 kB / 0.4949 GB, free: 4.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002488/0.1174, allocations: 310.8 kB / 0.4952 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-06/0.1174, allocations: 4 kB / 0.4952 GB, free: 4.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.081e-05/0.1175, allocations: 0 / 0.4952 GB, free: 4.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/0.1175, allocations: 75.28 kB / 0.4953 GB, free: 3.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-05/0.1175, allocations: 79.28 kB / 0.4953 GB, free: 3.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.972e-05/0.1176, allocations: 33.64 kB / 0.4954 GB, free: 3.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/0.1176, allocations: 87.25 kB / 0.4955 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/0.1177, allocations: 79.27 kB / 0.4955 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.576e-05/0.1178, allocations: 150.6 kB / 0.4957 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.864e-05/0.1178, allocations: 87.27 kB / 0.4958 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.401e-05/0.1179, allocations: 150.6 kB / 0.4959 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.391e-05/0.1179, allocations: 79.22 kB / 0.496 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.118, allocations: 79.28 kB / 0.4961 GB, free: 3.16 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 0.0001348/0.1181, allocations: 268.3 kB / 0.4963 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.57e-05/0.1182, allocations: 108.9 kB / 0.4964 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.1182, allocations: 108 kB / 0.4965 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.004e-05/0.1183, allocations: 184.2 kB / 0.4967 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.313e-05/0.1184, allocations: 188.2 kB / 0.4969 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.109e-05/0.1185, allocations: 180.3 kB / 0.497 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.1187, allocations: 401.2 kB / 0.4974 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-05/0.1187, allocations: 105 kB / 0.4975 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.1188, allocations: 101 kB / 0.4976 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.574e-05/0.1188, allocations: 184.1 kB / 0.4978 GB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.876e-05/0.1189, allocations: 184.2 kB / 0.498 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-05/0.119, allocations: 188.2 kB / 0.4982 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.555e-05/0.119, allocations: 180.2 kB / 0.4983 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.1191, allocations: 307.8 kB / 0.4986 GB, free: 364 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.1192, allocations: 194 kB / 0.4988 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.661e-05/0.1193, allocations: 180.2 kB / 0.499 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.1194, allocations: 105 kB / 0.4991 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.1194, allocations: 176.3 kB / 0.4992 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.1195, allocations: 104.9 kB / 0.4993 GB, free: 15.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.859e-05/0.1195, allocations: 75.28 kB / 0.4994 GB, free: 15.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1195, allocations: 4 kB / 0.4994 GB, free: 15.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005811/0.1201, allocations: 148 kB / 0.4996 GB, free: 15.34 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.0009128/0.121, allocations: 0.9637 MB / 0.5005 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.83e-05/0.1211, allocations: 7.938 kB / 0.5005 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.1211, allocations: 4 kB / 0.5005 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.1211, allocations: 3.938 kB / 0.5005 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.1215, allocations: 459.7 kB / 0.501 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.122, allocations: 221.8 kB / 0.5012 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.1222, allocations: 0.6768 MB / 0.5018 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.928e-06/0.1222, allocations: 0 / 0.5018 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.1222, allocations: 7.438 kB / 0.5018 GB, free: 12.91 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1223, allocations: 0 / 0.5018 GB, free: 12.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.1446, allocations: 4.252 MB / 0.506 GB, free: 8.648 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.671/7.816, allocations: 15.92 kB / 0.506 GB, free: 8.637 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1)