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.00134/0.00134, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001348/0.001348, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.429/1.429, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2276/0.2276, allocations: 43.52 MB / 314.1 MB, free: 444 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.002166/0.002167, allocations: 69.47 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1216, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001677/0.1233, allocations: 0.4988 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.1257, allocations: 1.594 MB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.625e-05/0.1257, allocations: 0 / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.1257, allocations: 0 / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.28e-06/0.1257, allocations: 0 / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008969/0.1267, allocations: 279.2 kB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.534e-05/0.1267, allocations: 4 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.1268, allocations: 0 / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.587e-05/0.1268, allocations: 0 / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.687e-05/0.1268, allocations: 7.984 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.901e-06/0.1268, allocations: 0 / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007852/0.1276, allocations: 487 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.846e-06/0.1276, allocations: 11.92 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.1277, allocations: 4 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004797/0.1282, allocations: 307.3 kB / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.1282, allocations: 4 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1282, allocations: 0 / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1282, allocations: 0 / 0.4905 GB, free: 9.109 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.0005392/0.1287, allocations: 376.5 kB / 0.4908 GB, free: 8.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.1288, allocations: 11.89 kB / 0.4908 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.1288, allocations: 30.75 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.1289, allocations: 4.875 kB / 0.4909 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.129, allocations: 164.4 kB / 0.491 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1291, allocations: 8.359 kB / 0.491 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.1291, allocations: 384 / 0.491 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.1292, allocations: 33.83 kB / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1292, allocations: 0 / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1292, allocations: 4 kB / 0.4911 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1292, allocations: 3.938 kB / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.064e-05/0.1293, allocations: 3.938 kB / 0.4911 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.1294, allocations: 145.7 kB / 0.4912 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.942e-05/0.1295, allocations: 22.59 kB / 0.4913 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.569e-05/0.1295, allocations: 4.859 kB / 0.4913 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.739e-06/0.1295, allocations: 0 / 0.4913 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.832e-05/0.1296, allocations: 68.27 kB / 0.4913 GB, free: 8.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.1296, allocations: 0 / 0.4913 GB, free: 8.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001983/0.1298, allocations: 63.34 kB / 0.4914 GB, free: 7.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.1299, allocations: 85.22 kB / 0.4915 GB, free: 7.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.625e-05/0.13, allocations: 89.86 kB / 0.4915 GB, free: 7.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.13, allocations: 25.7 kB / 0.4916 GB, free: 7.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.13, allocations: 80.14 kB / 0.4916 GB, free: 7.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.1301, allocations: 0 / 0.4916 GB, free: 7.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.1301, allocations: 17.72 kB / 0.4917 GB, free: 7.656 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1303, allocations: 310.8 kB / 0.492 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/0.1303, allocations: 0 / 0.492 GB, free: 7.344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-06/0.1303, allocations: 4 kB / 0.492 GB, free: 7.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.899e-05/0.1304, allocations: 64.27 kB / 0.492 GB, free: 7.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1304, allocations: 3.938 kB / 0.492 GB, free: 7.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.997e-05/0.1305, allocations: 67.39 kB / 0.4921 GB, free: 7.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/0.1305, allocations: 33.64 kB / 0.4921 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1305, allocations: 4 kB / 0.4921 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1305, allocations: 0 / 0.4921 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.1306, allocations: 0 / 0.4921 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1306, allocations: 0 / 0.4921 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/0.1306, allocations: 4.094 kB / 0.4921 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.1306, allocations: 0 / 0.4921 GB, free: 7.133 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 0.00011/0.1307, allocations: 143.5 kB / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.918e-06/0.1307, allocations: 3.938 kB / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.315e-05/0.1308, allocations: 3.125 kB / 0.4923 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.1308, allocations: 0 / 0.4923 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.1308, allocations: 0 / 0.4923 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1308, allocations: 8 kB / 0.4923 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.1309, allocations: 145.7 kB / 0.4924 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1309, allocations: 7.938 kB / 0.4924 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1309, allocations: 3.938 kB / 0.4924 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.131, allocations: 7.922 kB / 0.4924 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.131, allocations: 0 / 0.4924 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.131, allocations: 4 kB / 0.4924 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.131, allocations: 3.938 kB / 0.4925 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.1311, allocations: 90.83 kB / 0.4925 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.1312, allocations: 85.05 kB / 0.4926 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.1312, allocations: 4.031 kB / 0.4926 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-06/0.1312, allocations: 0 / 0.4926 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.1312, allocations: 0 / 0.4926 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.1312, allocations: 0 / 0.4926 GB, free: 6.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.718e-05/0.1313, allocations: 75.28 kB / 0.4927 GB, free: 6.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1313, allocations: 4 kB / 0.4927 GB, free: 6.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003323/0.1316, allocations: 59.8 kB / 0.4928 GB, free: 6.383 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.000843/0.1325, allocations: 0.7293 MB / 0.4935 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.1326, allocations: 55.41 kB / 0.4935 GB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1326, allocations: 0 / 0.4935 GB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.258e-05/0.1327, allocations: 59.39 kB / 0.4936 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.1328, allocations: 4 kB / 0.4936 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.1332, allocations: 126.4 kB / 0.4937 GB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.1335, allocations: 0.673 MB / 0.4944 GB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.833e-06/0.1335, allocations: 4 kB / 0.4944 GB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.1335, allocations: 7.438 kB / 0.4944 GB, free: 4.605 MB / 382.1 MB Notification: Performance of SimCode: time 2.234e-06/0.1335, allocations: 3.938 kB / 0.4944 GB, free: 4.602 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/0.1591, allocations: 2.097 MB / 0.4964 GB, free: 2.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.057/8.216, allocations: 11.47 kB / 0.4964 GB, free: 2.488 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1)