Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.TestMatrices2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000948/0.000948, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.0009978/0.0009979, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2932/0.2932, allocations: 40 MB / 310.4 MB, free: 9.652 MB / 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006327/0.0006328, allocations: 15.98 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1308, allocations: 57.95 MB / 436.7 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0006756/0.1316, allocations: 228.4 kB / 437 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003751/0.1353, allocations: 2.013 MB / 439 MB, free: 44 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.1354, allocations: 0 / 439 MB, free: 44 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.1354, allocations: 0 / 439 MB, free: 44 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.621e-06/0.1354, allocations: 0 / 439 MB, free: 44 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002379/0.1378, allocations: 0.612 MB / 439.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.321e-05/0.1379, allocations: 0 / 439.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.17e-05/0.1379, allocations: 3.938 kB / 439.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.348e-05/0.138, allocations: 8 kB / 439.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.727e-05/0.138, allocations: 3.938 kB / 439.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.561e-06/0.138, allocations: 0 / 439.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.1401, allocations: 1.268 MB / 440.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.1402, allocations: 3.984 kB / 440.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.1402, allocations: 25.7 kB / 440.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.1419, allocations: 1.162 MB / 442.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1419, allocations: 0 / 442.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.142, allocations: 4 kB / 442.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.142, allocations: 0 / 442.1 MB, free: 12.94 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.0009341/0.1429, allocations: 409.1 kB / 442.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.143, allocations: 8.031 kB / 442.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.143, allocations: 4 kB / 442.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.1431, allocations: 167 kB / 442.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1432, allocations: 0 / 442.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.1432, allocations: 0 / 442.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.1433, allocations: 37.64 kB / 442.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1433, allocations: 0 / 442.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1433, allocations: 3.953 kB / 442.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1433, allocations: 0 / 442.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.1434, allocations: 0 / 442.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.1435, allocations: 153.7 kB / 442.8 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.848e-05/0.1436, allocations: 14.58 kB / 442.9 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.1436, allocations: 0 / 442.9 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/0.1436, allocations: 68.19 kB / 442.9 MB, free: 11.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.1436, allocations: 0 / 442.9 MB, free: 11.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001935/0.1438, allocations: 67.45 kB / 443 MB, free: 11.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.1439, allocations: 81.06 kB / 443.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.098e-05/0.144, allocations: 93.86 kB / 443.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.144, allocations: 25.7 kB / 443.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.643e-05/0.144, allocations: 80.14 kB / 443.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.144, allocations: 288 / 443.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.1441, allocations: 128 / 443.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1442, allocations: 314.8 kB / 443.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.1442, allocations: 0 / 443.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.488e-06/0.1442, allocations: 4 kB / 443.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/0.1442, allocations: 25.7 kB / 443.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1443, allocations: 3.938 kB / 443.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.403e-05/0.1443, allocations: 67.39 kB / 443.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.1444, allocations: 33.3 kB / 443.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1444, allocations: 0 / 443.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1444, allocations: 4.094 kB / 443.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.575e-06/0.1444, allocations: 4 kB / 443.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1444, allocations: 0 / 443.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.1445, allocations: 7.891 kB / 443.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.1445, allocations: 0 / 443.7 MB, free: 11.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.842e-05/0.1446, allocations: 139.5 kB / 443.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/0.1446, allocations: 0 / 443.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.399e-05/0.1446, allocations: 7.062 kB / 443.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1446, allocations: 3.938 kB / 443.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1446, allocations: 4 kB / 443.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1446, allocations: 0 / 443.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.1447, allocations: 157.6 kB / 444 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1448, allocations: 0 / 444 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.869e-06/0.1448, allocations: 4 kB / 444 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1448, allocations: 0 / 444 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1448, allocations: 0 / 444 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1448, allocations: 0 / 444 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1448, allocations: 3.938 kB / 444 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.1449, allocations: 98.78 kB / 444.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.145, allocations: 77.11 kB / 444.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.145, allocations: 0 / 444.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.165e-05/0.145, allocations: 4 kB / 444.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.145, allocations: 0 / 444.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.1451, allocations: 0 / 444.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.711e-05/0.1451, allocations: 75.28 kB / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1451, allocations: 0 / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00108/0.1462, allocations: 276 kB / 444.5 MB, free: 10.11 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001774/0.148, allocations: 410.2 kB / 444.9 MB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.1481, allocations: 75.27 kB / 445 MB, free: 9.617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1481, allocations: 0 / 445 MB, free: 9.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.336e-05/0.1482, allocations: 51.41 kB / 445.1 MB, free: 9.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000104/0.1483, allocations: 7.953 kB / 445.1 MB, free: 9.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/0.1485, allocations: 70.77 kB / 445.1 MB, free: 9.453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.1488, allocations: 0.677 MB / 445.8 MB, free: 8.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.672e-06/0.1488, allocations: 128 / 445.8 MB, free: 8.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/0.1488, allocations: 11.44 kB / 445.8 MB, free: 8.738 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1488, allocations: 0 / 445.8 MB, free: 8.738 MB / 382.1 MB Notification: Performance of Templates: time 0.01572/0.1645, allocations: 7.604 MB / 453.4 MB, free: 1.121 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) Environment - environmentSimulation: