Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 106.4 kB / 17.2 MB, free: 6.273 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.001698/0.001698, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 241.8 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2114/0.2114, allocations: 44.17 MB / 336.1 MB, free: 2.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 59.62 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1379, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001832/0.1398, allocations: 0.5487 MB / 469.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.1419, allocations: 1.524 MB / 470.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.092e-05/0.1419, allocations: 0 / 470.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.142, allocations: 0 / 470.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.348e-06/0.142, allocations: 4 kB / 470.6 MB, free: 12.75 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices3‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0008939/0.1429, allocations: 198.3 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.867e-05/0.1429, allocations: 0 / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.143, allocations: 7.984 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.484e-05/0.143, allocations: 0 / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.667e-05/0.143, allocations: 7.938 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.779e-06/0.143, allocations: 0 / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009417/0.144, allocations: 0.6908 MB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.603e-06/0.144, allocations: 4 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.144, allocations: 0 / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007956/0.1448, allocations: 0.6512 MB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1448, allocations: 0 / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1448, allocations: 0 / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1449, allocations: 0 / 472.1 MB, free: 11.19 MB / 350.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.0004581/0.1453, allocations: 361.3 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1454, allocations: 15.97 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.1454, allocations: 0.9375 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.377e-05/0.1455, allocations: 164.4 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.1455, allocations: 384 / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.1455, allocations: 4.312 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.714e-05/0.1456, allocations: 42 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.1456, allocations: 0 / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1457, allocations: 0 / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1457, allocations: 0 / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.667e-05/0.1457, allocations: 3.938 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.1458, allocations: 145.7 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.469e-05/0.1459, allocations: 18.58 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.362e-05/0.1459, allocations: 4.859 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.1459, allocations: 4.094 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.1459, allocations: 68.19 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.123e-06/0.1459, allocations: 0 / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001769/0.1461, allocations: 63.34 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.1462, allocations: 77.23 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.076e-05/0.1462, allocations: 93.86 kB / 473.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.1462, allocations: 25.7 kB / 473.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.166e-05/0.1463, allocations: 80.14 kB / 473.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.1463, allocations: 0 / 473.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.1463, allocations: 21.7 kB / 473.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1464, allocations: 310.8 kB / 473.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-06/0.1465, allocations: 0 / 473.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.243e-06/0.1465, allocations: 4 kB / 473.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.808e-05/0.1465, allocations: 60.33 kB / 473.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1466, allocations: 3.938 kB / 473.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.364e-05/0.1466, allocations: 67.39 kB / 473.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.1467, allocations: 37.64 kB / 473.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.1467, allocations: 3.984 kB / 473.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1467, allocations: 0 / 473.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/0.1467, allocations: 0 / 473.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1468, allocations: 4 kB / 473.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.1468, allocations: 0 / 473.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.1468, allocations: 4.031 kB / 473.8 MB, free: 9.266 MB / 350.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.0001042/0.1469, allocations: 135.5 kB / 473.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.1469, allocations: 3.938 kB / 473.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.285e-05/0.1469, allocations: 7.109 kB / 473.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1469, allocations: 0 / 473.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.147, allocations: 3.938 kB / 473.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.147, allocations: 4 kB / 473.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.1471, allocations: 149.6 kB / 474.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1471, allocations: 0 / 474.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-07/0.1471, allocations: 4 kB / 474.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1471, allocations: 3.938 kB / 474.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1471, allocations: 7.984 kB / 474.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1471, allocations: 4 kB / 474.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1471, allocations: 3.938 kB / 474.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.1472, allocations: 86.75 kB / 474.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.1473, allocations: 85.09 kB / 474.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.1473, allocations: 7.969 kB / 474.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.034e-05/0.1473, allocations: 0 / 474.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.1473, allocations: 0 / 474.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-06/0.1474, allocations: 0 / 474.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.465e-05/0.1474, allocations: 75.28 kB / 474.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1474, allocations: 0 / 474.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000497/0.1479, allocations: 120 kB / 474.5 MB, free: 8.469 MB / 350.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.0007623/0.1487, allocations: 173.8 kB / 474.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.755e-05/0.1488, allocations: 59.34 kB / 474.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1488, allocations: 0 / 474.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.219e-05/0.1488, allocations: 55.41 kB / 474.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.149, allocations: 8.125 kB / 474.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001932/0.1492, allocations: 78.69 kB / 474.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1494, allocations: 0.6731 MB / 475.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.831e-06/0.1494, allocations: 0 / 475.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.059e-05/0.1494, allocations: 7.438 kB / 475.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1495, allocations: 0 / 475.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of Templates: time 0.006646/0.1561, allocations: 3.915 MB / 479.4 MB, free: 3.422 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1)