Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.TestMatrices,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009088/0.0009087, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009185/0.0009188, allocations: 172.7 kB / 15.95 MB, free: 208 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.515/1.515, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.3626/0.3626, allocations: 40 MB / 310.4 MB, free: 9.867 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.0005339/0.0005339, allocations: 16 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1341, allocations: 57.96 MB / 436.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.000669/0.1348, allocations: 222.1 kB / 437 MB, free: 2.375 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1368, allocations: 1.536 MB / 438.5 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.282e-05/0.1368, allocations: 0 / 438.5 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.089e-05/0.1368, allocations: 0 / 438.5 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.885e-06/0.1368, allocations: 0 / 438.5 MB, free: 0.8203 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:165:3-206:15:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0007765/0.1376, allocations: 247.5 kB / 438.8 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.938e-05/0.1377, allocations: 8 kB / 438.8 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.1377, allocations: 0 / 438.8 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.585e-05/0.1377, allocations: 0 / 438.8 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.321e-05/0.1378, allocations: 0 / 438.8 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-06/0.1378, allocations: 0 / 438.8 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006233/0.1384, allocations: 439 kB / 439.2 MB, free: 144 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.923e-06/0.1384, allocations: 4 kB / 439.2 MB, free: 140 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.1385, allocations: 29.64 kB / 439.2 MB, free: 104 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.1388, allocations: 211.6 kB / 439.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1388, allocations: 0 / 439.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1388, allocations: 0 / 439.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.289e-06/0.1388, allocations: 0 / 439.5 MB, free: 15.89 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.0003529/0.1391, allocations: 377 kB / 439.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1392, allocations: 8.031 kB / 439.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.1392, allocations: 0 / 439.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.807e-05/0.1393, allocations: 163.1 kB / 440 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1393, allocations: 4 kB / 440 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.1394, allocations: 4 kB / 440 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.1395, allocations: 29.64 kB / 440 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.1395, allocations: 0 / 440 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.1395, allocations: 0 / 440 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.1395, allocations: 7.953 kB / 440 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.745e-05/0.1395, allocations: 3.938 kB / 440 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.1397, allocations: 149.7 kB / 440.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.571e-05/0.1397, allocations: 22.61 kB / 440.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.275e-05/0.1397, allocations: 4.859 kB / 440.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-06/0.1398, allocations: 3.984 kB / 440.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.1398, allocations: 56.27 kB / 440.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.1398, allocations: 0 / 440.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001797/0.14, allocations: 75.38 kB / 440.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.1401, allocations: 85.19 kB / 440.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.775e-05/0.1401, allocations: 93.86 kB / 440.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.1401, allocations: 25.7 kB / 440.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.1402, allocations: 84.08 kB / 440.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.1402, allocations: 0 / 440.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-06/0.1402, allocations: 0 / 440.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1403, allocations: 310.8 kB / 440.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.1403, allocations: 4 kB / 440.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.578e-06/0.1403, allocations: 4 kB / 440.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.884e-05/0.1404, allocations: 29.77 kB / 441 MB, free: 14.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1404, allocations: 0 / 441 MB, free: 14.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.544e-05/0.1405, allocations: 63.39 kB / 441 MB, free: 14.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.1405, allocations: 33.64 kB / 441.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1405, allocations: 0 / 441.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1405, allocations: 4 kB / 441.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.1405, allocations: 0 / 441.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1406, allocations: 0 / 441.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.842e-05/0.1406, allocations: 3.953 kB / 441.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1406, allocations: 3.984 kB / 441.1 MB, free: 14.02 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.203e-05/0.1407, allocations: 147.8 kB / 441.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.662e-06/0.1407, allocations: 0 / 441.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.204e-05/0.1407, allocations: 3.125 kB / 441.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1407, allocations: 0 / 441.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1407, allocations: 0 / 441.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1407, allocations: 0 / 441.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.1409, allocations: 157.6 kB / 441.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1409, allocations: 0 / 441.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1409, allocations: 0 / 441.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1409, allocations: 4 kB / 441.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1409, allocations: 0 / 441.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.1409, allocations: 3.938 kB / 441.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1409, allocations: 4 kB / 441.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.861e-05/0.141, allocations: 94.72 kB / 441.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.141, allocations: 81.05 kB / 441.6 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.1411, allocations: 4 kB / 441.6 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-06/0.1411, allocations: 0 / 441.6 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/0.1411, allocations: 4.031 kB / 441.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.1411, allocations: 0 / 441.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.802e-05/0.1412, allocations: 75.28 kB / 441.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1412, allocations: 3.938 kB / 441.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003221/0.1415, allocations: 67.98 kB / 441.7 MB, free: 13.27 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.0004991/0.142, allocations: 186.8 kB / 441.9 MB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.028e-05/0.1421, allocations: 59.39 kB / 442 MB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1421, allocations: 0 / 442 MB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.347e-05/0.1421, allocations: 55.41 kB / 442 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.1423, allocations: 12.08 kB / 442 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001723/0.1425, allocations: 78.7 kB / 442.1 MB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.1427, allocations: 0.6769 MB / 442.8 MB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.189e-06/0.1427, allocations: 0 / 442.8 MB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.167e-06/0.1428, allocations: 11.44 kB / 442.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1428, allocations: 0 / 442.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of Templates: time 0.004224/0.147, allocations: 1.245 MB / 444 MB, free: 10.88 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.pipe 2>&1) Environment - environmentSimulation: