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.001463/0.001463, allocations: 103 kB / 16.4 MB, free: 6.461 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.001606/0.001606, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.435/1.435, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2467/0.2467, allocations: 43.52 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.001738/0.001738, allocations: 75.91 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1136, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001553/0.1152, allocations: 494.8 kB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002951/0.1182, allocations: 2.031 MB / 0.4898 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.961e-06/0.1182, allocations: 0 / 0.4898 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.897e-06/0.1183, allocations: 0 / 0.4898 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.082e-06/0.1183, allocations: 0 / 0.4898 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.12, allocations: 0.5139 MB / 0.4903 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.707e-05/0.1201, allocations: 0 / 0.4903 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.741e-05/0.1201, allocations: 4 kB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.775e-06/0.1201, allocations: 0 / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.148e-06/0.1201, allocations: 0 / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.787e-06/0.1201, allocations: 0 / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.1215, allocations: 0.8849 MB / 0.4912 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.263e-06/0.1215, allocations: 0 / 0.4912 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.1215, allocations: 0 / 0.4912 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.1227, allocations: 0.7758 MB / 0.492 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1227, allocations: 0 / 0.492 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.038e-06/0.1227, allocations: 8 kB / 0.492 GB, free: 7.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1227, allocations: 0 / 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.0004237/0.1231, allocations: 375.6 kB / 0.4923 GB, free: 7.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1232, allocations: 11.89 kB / 0.4923 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.546e-05/0.1233, allocations: 110 kB / 0.4924 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.1233, allocations: 84.16 kB / 0.4925 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.1235, allocations: 239.6 kB / 0.4928 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/0.1235, allocations: 154.9 kB / 0.4929 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.1236, allocations: 150.9 kB / 0.4931 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.255e-05/0.1236, allocations: 105.1 kB / 0.4932 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.1237, allocations: 75.28 kB / 0.4932 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.564e-05/0.1237, allocations: 150.6 kB / 0.4934 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.886e-05/0.1238, allocations: 154.6 kB / 0.4935 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.001e-05/0.1239, allocations: 162.5 kB / 0.4937 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.1242, allocations: 441.9 kB / 0.4941 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.953e-05/0.1243, allocations: 165.1 kB / 0.4942 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.1243, allocations: 84.14 kB / 0.4943 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.1243, allocations: 79.28 kB / 0.4944 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.1244, allocations: 113.8 kB / 0.4945 GB, free: 4.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.392e-06/0.1244, allocations: 0 / 0.4945 GB, free: 4.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.637e-05/0.1245, allocations: 33.64 kB / 0.4945 GB, free: 4.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.42e-05/0.1246, allocations: 152.4 kB / 0.4947 GB, free: 4.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.336e-05/0.1246, allocations: 89.86 kB / 0.4948 GB, free: 4.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.1247, allocations: 25.7 kB / 0.4948 GB, free: 4.453 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.1247, allocations: 88.08 kB / 0.4949 GB, free: 4.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-06/0.1247, allocations: 3.984 kB / 0.4949 GB, free: 4.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.1247, allocations: 13.72 kB / 0.4949 GB, free: 4.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1249, allocations: 318.8 kB / 0.4952 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-06/0.1249, allocations: 0 / 0.4952 GB, free: 4.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/0.1249, allocations: 0 / 0.4952 GB, free: 4.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.411e-05/0.1249, allocations: 75.28 kB / 0.4953 GB, free: 3.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.246e-05/0.125, allocations: 79.28 kB / 0.4954 GB, free: 3.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.694e-05/0.125, allocations: 33.67 kB / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.1251, allocations: 83.22 kB / 0.4955 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.182e-05/0.1251, allocations: 79.28 kB / 0.4955 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.101e-05/0.1252, allocations: 154.5 kB / 0.4957 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.117e-05/0.1252, allocations: 79.33 kB / 0.4958 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.329e-05/0.1253, allocations: 154.5 kB / 0.4959 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.463e-05/0.1254, allocations: 91.22 kB / 0.496 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.1254, allocations: 75.28 kB / 0.4961 GB, free: 3.121 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.0001163/0.1255, allocations: 260.3 kB / 0.4963 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.1256, allocations: 112.9 kB / 0.4964 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.535e-05/0.1256, allocations: 108 kB / 0.4965 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.405e-05/0.1257, allocations: 180.2 kB / 0.4967 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.249e-05/0.1258, allocations: 192.2 kB / 0.4969 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.687e-05/0.1259, allocations: 180.3 kB / 0.4971 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.1261, allocations: 397.2 kB / 0.4974 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-05/0.1262, allocations: 105 kB / 0.4975 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.1262, allocations: 105 kB / 0.4976 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.765e-05/0.1263, allocations: 192.1 kB / 0.4978 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.434e-05/0.1264, allocations: 180.3 kB / 0.498 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.416e-05/0.1264, allocations: 180.2 kB / 0.4982 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.977e-05/0.1265, allocations: 180.2 kB / 0.4983 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.1267, allocations: 311.8 kB / 0.4986 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.74e-05/0.1268, allocations: 186 kB / 0.4988 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.1269, allocations: 184.2 kB / 0.499 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-05/0.127, allocations: 101 kB / 0.4991 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.127, allocations: 176.3 kB / 0.4992 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.979e-05/0.1271, allocations: 108.9 kB / 0.4994 GB, free: 15.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.613e-05/0.1271, allocations: 79.28 kB / 0.4994 GB, free: 15.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1271, allocations: 0 / 0.4994 GB, free: 15.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000685/0.1278, allocations: 144 kB / 0.4996 GB, free: 15.31 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.001059/0.1289, allocations: 0.9638 MB / 0.5005 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.866e-05/0.129, allocations: 7.938 kB / 0.5005 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.129, allocations: 3.938 kB / 0.5005 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.023e-06/0.129, allocations: 0 / 0.5005 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.1293, allocations: 463.6 kB / 0.501 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/0.1298, allocations: 225.7 kB / 0.5012 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.13, allocations: 0.669 MB / 0.5018 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.938e-06/0.13, allocations: 0 / 0.5018 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.1301, allocations: 11.44 kB / 0.5018 GB, free: 12.88 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1301, allocations: 0 / 0.5018 GB, free: 12.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.155, allocations: 4.261 MB / 0.506 GB, free: 8.613 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/7.893, allocations: 8.766 kB / 0.506 GB, free: 8.605 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)