Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.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: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 107.1 kB / 16.41 MB, free: 6.504 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.001814/0.001814, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.628/1.628, 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.2129/0.2129, allocations: 43.52 MB / 314.1 MB, free: 452 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.001448/0.001448, allocations: 74.03 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1139, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001653/0.1156, allocations: 0.4909 MB / 0.4883 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.1176, allocations: 1.544 MB / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.594e-05/0.1176, allocations: 0 / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.069e-05/0.1176, allocations: 0 / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.619e-06/0.1176, allocations: 0 / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008435/0.1185, allocations: 231.4 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.393e-05/0.1185, allocations: 4 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.189e-05/0.1186, allocations: 0 / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.228e-05/0.1186, allocations: 4 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.332e-05/0.1186, allocations: 4 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-06/0.1186, allocations: 0 / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008918/0.1195, allocations: 0.7025 MB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.753e-06/0.1196, allocations: 0 / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.1196, allocations: 12 kB / 0.4908 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007025/0.1203, allocations: 0.6395 MB / 0.4914 GB, free: 8.156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1203, allocations: 0 / 0.4914 GB, free: 8.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1203, allocations: 3.938 kB / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1203, allocations: 0 / 0.4914 GB, free: 8.152 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.0004348/0.1208, allocations: 369.3 kB / 0.4918 GB, free: 7.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1208, allocations: 11.89 kB / 0.4918 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.1208, allocations: 0.9375 kB / 0.4918 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.684e-05/0.1209, allocations: 164.3 kB / 0.4919 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1209, allocations: 384 / 0.4919 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-06/0.121, allocations: 4.375 kB / 0.4919 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.06e-05/0.121, allocations: 34 kB / 0.492 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.121, allocations: 3.984 kB / 0.492 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.1211, allocations: 0 / 0.492 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.1211, allocations: 4 kB / 0.492 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.825e-05/0.1211, allocations: 4 kB / 0.492 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.1212, allocations: 149.6 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.578e-05/0.1213, allocations: 18.61 kB / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.226e-05/0.1213, allocations: 8.859 kB / 0.4922 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.1213, allocations: 0 / 0.4922 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.1213, allocations: 64.19 kB / 0.4922 GB, free: 7.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.1213, allocations: 4 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001533/0.1215, allocations: 63.41 kB / 0.4923 GB, free: 7.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.1216, allocations: 77.11 kB / 0.4924 GB, free: 6.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.459e-05/0.1216, allocations: 89.86 kB / 0.4924 GB, free: 6.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.1216, allocations: 33.64 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.383e-05/0.1217, allocations: 84.12 kB / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.1217, allocations: 3.938 kB / 0.4926 GB, free: 6.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.1217, allocations: 13.72 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1219, allocations: 318.9 kB / 0.4929 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.577e-06/0.1219, allocations: 4 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.179e-06/0.1219, allocations: 0 / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.594e-05/0.122, allocations: 64.27 kB / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.122, allocations: 0 / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.474e-05/0.1221, allocations: 63.39 kB / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.1221, allocations: 33.64 kB / 0.493 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1221, allocations: 0 / 0.493 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1221, allocations: 4.094 kB / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.964e-06/0.1221, allocations: 3.938 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.1222, allocations: 0 / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.544e-05/0.1222, allocations: 4 kB / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.1222, allocations: 4 kB / 0.493 GB, free: 6.211 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.192e-05/0.1223, allocations: 143.5 kB / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.1223, allocations: 7.938 kB / 0.4932 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.071e-05/0.1223, allocations: 3.125 kB / 0.4932 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1223, allocations: 3.938 kB / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.1223, allocations: 4 kB / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.1223, allocations: 0 / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.862e-05/0.1224, allocations: 145.7 kB / 0.4933 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1224, allocations: 0 / 0.4933 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-06/0.1224, allocations: 7.984 kB / 0.4933 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1224, allocations: 3.938 kB / 0.4933 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.1224, allocations: 0 / 0.4933 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1224, allocations: 3.984 kB / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1225, allocations: 0 / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.255e-05/0.1225, allocations: 90.84 kB / 0.4934 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.1226, allocations: 81.09 kB / 0.4935 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.1226, allocations: 7.875 kB / 0.4935 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-06/0.1226, allocations: 0 / 0.4935 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.1226, allocations: 4 kB / 0.4935 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.1226, allocations: 0 / 0.4935 GB, free: 5.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.295e-05/0.1227, allocations: 75.28 kB / 0.4936 GB, free: 5.527 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1227, allocations: 0 / 0.4936 GB, free: 5.527 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004254/0.1231, allocations: 124 kB / 0.4937 GB, free: 5.406 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.000659/0.1238, allocations: 173.6 kB / 0.4939 GB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.892e-05/0.1239, allocations: 67.41 kB / 0.4939 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1239, allocations: 0 / 0.4939 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.003e-05/0.1239, allocations: 59.39 kB / 0.494 GB, free: 5.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.124, allocations: 0 / 0.494 GB, free: 5.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001617/0.1242, allocations: 84.86 kB / 0.4941 GB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.1244, allocations: 0.669 MB / 0.4947 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.791e-06/0.1244, allocations: 0 / 0.4947 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.168e-05/0.1244, allocations: 11.44 kB / 0.4947 GB, free: 4.266 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1245, allocations: 0 / 0.4947 GB, free: 4.266 MB / 382.1 MB Notification: Performance of Templates: time 0.007788/0.1322, allocations: 3.924 MB / 0.4986 GB, free: 344 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1)