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.001811/0.001811, allocations: 105.9 kB / 16.4 MB, free: 6.027 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.002234/0.002235, allocations: 197.3 kB / 17.35 MB, free: 5.605 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.676/1.676, allocations: 205.1 MB / 223.2 MB, free: 12.28 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.218/0.218, allocations: 43.52 MB / 314.1 MB, free: 464 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.0022/0.0022, allocations: 65.47 kB / 441.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1302, allocations: 57.79 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001739/0.132, allocations: 0.5027 MB / 0.4884 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.1343, allocations: 1.544 MB / 0.4899 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.982e-05/0.1343, allocations: 0 / 0.4899 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.265e-05/0.1344, allocations: 0 / 0.4899 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.15e-06/0.1344, allocations: 0 / 0.4899 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.1354, allocations: 231.4 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.693e-05/0.1354, allocations: 4 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.1355, allocations: 4 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.027e-05/0.1355, allocations: 7.984 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.789e-05/0.1355, allocations: 0 / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.653e-06/0.1356, allocations: 0 / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.1366, allocations: 0.6986 MB / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.917e-06/0.1367, allocations: 0 / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.1367, allocations: 4 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008437/0.1375, allocations: 0.6473 MB / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1376, allocations: 0 / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1376, allocations: 0 / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1376, allocations: 0 / 0.4914 GB, free: 8.16 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.0005727/0.1382, allocations: 369.2 kB / 0.4918 GB, free: 7.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1382, allocations: 11.89 kB / 0.4918 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.1382, allocations: 0.9375 kB / 0.4918 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.1383, allocations: 164.4 kB / 0.4919 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1384, allocations: 4.375 kB / 0.4919 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.1384, allocations: 384 / 0.4919 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.646e-05/0.1385, allocations: 34.02 kB / 0.492 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.1385, allocations: 0 / 0.492 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.1385, allocations: 4 kB / 0.492 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1385, allocations: 4 kB / 0.492 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.992e-05/0.1385, allocations: 3.938 kB / 0.492 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.1387, allocations: 149.6 kB / 0.4921 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.379e-05/0.1387, allocations: 18.61 kB / 0.4921 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.1388, allocations: 4.859 kB / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-06/0.1388, allocations: 0 / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/0.1388, allocations: 68.27 kB / 0.4922 GB, free: 7.168 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.1388, allocations: 4 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001759/0.139, allocations: 63.33 kB / 0.4923 GB, free: 7.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.1391, allocations: 81.11 kB / 0.4924 GB, free: 6.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.675e-05/0.1391, allocations: 89.86 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.1391, allocations: 25.7 kB / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.586e-05/0.1392, allocations: 80.14 kB / 0.4925 GB, free: 6.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.1392, allocations: 7.875 kB / 0.4926 GB, free: 6.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.1392, allocations: 21.72 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1394, allocations: 315 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-06/0.1394, allocations: 0 / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-06/0.1394, allocations: 0 / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.731e-05/0.1394, allocations: 64.25 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1394, allocations: 0 / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.976e-05/0.1395, allocations: 67.34 kB / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.1396, allocations: 33.64 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1396, allocations: 0 / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1396, allocations: 8.094 kB / 0.493 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.1396, allocations: 0 / 0.493 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.1396, allocations: 3.984 kB / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.1396, allocations: 0 / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.1396, allocations: 0 / 0.493 GB, free: 6.223 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 8.732e-05/0.1397, allocations: 139.5 kB / 0.4932 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.1397, allocations: 7.922 kB / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.142e-05/0.1398, allocations: 3.125 kB / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1398, allocations: 0 / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1398, allocations: 4 kB / 0.4932 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1398, allocations: 3.938 kB / 0.4932 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.1399, allocations: 149.7 kB / 0.4933 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1399, allocations: 0 / 0.4933 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-06/0.1399, allocations: 4 kB / 0.4933 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.1399, allocations: 3.938 kB / 0.4933 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1399, allocations: 7.984 kB / 0.4933 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1399, allocations: 0 / 0.4933 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.14, allocations: 0 / 0.4933 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.65e-05/0.1401, allocations: 98.77 kB / 0.4934 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.576e-05/0.1402, allocations: 77.11 kB / 0.4935 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.1402, allocations: 7.938 kB / 0.4935 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-06/0.1402, allocations: 0 / 0.4935 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.1402, allocations: 0 / 0.4935 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.1402, allocations: 0 / 0.4935 GB, free: 5.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.789e-05/0.1403, allocations: 75.28 kB / 0.4936 GB, free: 5.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.1403, allocations: 0 / 0.4936 GB, free: 5.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005198/0.1408, allocations: 123.9 kB / 0.4937 GB, free: 5.418 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.0008196/0.1416, allocations: 176.2 kB / 0.4939 GB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.1417, allocations: 67.33 kB / 0.4939 GB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1417, allocations: 0 / 0.4939 GB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.961e-05/0.1418, allocations: 55.41 kB / 0.494 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.1419, allocations: 0 / 0.494 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002096/0.1421, allocations: 84.92 kB / 0.4941 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.1424, allocations: 0.6768 MB / 0.4947 GB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.211e-06/0.1424, allocations: 0 / 0.4947 GB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.463e-05/0.1424, allocations: 7.438 kB / 0.4947 GB, free: 4.273 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1424, allocations: 0 / 0.4947 GB, free: 4.273 MB / 382.1 MB Notification: Performance of Templates: time 0.009426/0.1519, allocations: 3.92 MB / 0.4986 GB, free: 356 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)