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.001537/0.001537, allocations: 113 kB / 17.33 MB, free: 6.008 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.001695/0.001695, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.43/1.43, allocations: 222.9 MB / 241.9 MB, free: 15.46 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.2043/0.2043, allocations: 44.18 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 61.05 kB / 407.9 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1296, allocations: 60.83 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001744/0.1314, allocations: 0.5527 MB / 469.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.1338, allocations: 1.509 MB / 470.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.819e-05/0.1339, allocations: 0 / 470.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.1339, allocations: 3.938 kB / 470.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.703e-06/0.1339, allocations: 0 / 470.8 MB, free: 12.67 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.0009829/0.1349, allocations: 214.9 kB / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.234e-05/0.135, allocations: 4 kB / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.135, allocations: 0 / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.911e-05/0.135, allocations: 0 / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.987e-05/0.1351, allocations: 3.984 kB / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.633e-06/0.1351, allocations: 4 kB / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.1362, allocations: 0.6986 MB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.1362, allocations: 0 / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.1363, allocations: 3.938 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006903/0.137, allocations: 0.6396 MB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.137, allocations: 0 / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.137, allocations: 0 / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.137, allocations: 0 / 472.3 MB, free: 11.11 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.0004223/0.1374, allocations: 369.2 kB / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1375, allocations: 12.03 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.1375, allocations: 4.938 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.478e-05/0.1376, allocations: 160.4 kB / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1376, allocations: 384 / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.1376, allocations: 384 / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.736e-05/0.1377, allocations: 38.02 kB / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.1377, allocations: 0 / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1378, allocations: 0 / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1378, allocations: 0 / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.18e-05/0.1378, allocations: 3.984 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.1379, allocations: 149.7 kB / 473.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.823e-05/0.138, allocations: 18.52 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.138, allocations: 4.859 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.138, allocations: 8.031 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.469e-05/0.1381, allocations: 68.19 kB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1381, allocations: 0 / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001641/0.1383, allocations: 67.39 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.1383, allocations: 81.05 kB / 473.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.905e-05/0.1384, allocations: 89.86 kB / 473.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.1384, allocations: 25.7 kB / 473.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.579e-05/0.1384, allocations: 80.14 kB / 473.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.1384, allocations: 0 / 473.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.1385, allocations: 17.72 kB / 473.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1386, allocations: 318.8 kB / 473.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.1386, allocations: 4.125 kB / 473.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-06/0.1386, allocations: 4 kB / 473.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.551e-05/0.1387, allocations: 56.27 kB / 473.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1387, allocations: 0 / 473.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.466e-05/0.1387, allocations: 67.34 kB / 473.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.1388, allocations: 41.62 kB / 474 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1388, allocations: 0 / 474 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1388, allocations: 0 / 474 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.1388, allocations: 96 / 474 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1388, allocations: 4 kB / 474 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.497e-05/0.1388, allocations: 0 / 474 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.1389, allocations: 0 / 474 MB, free: 9.176 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 8.276e-05/0.1389, allocations: 135.5 kB / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-06/0.139, allocations: 3.938 kB / 474.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.187e-06/0.139, allocations: 7.109 kB / 474.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.139, allocations: 0 / 474.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.139, allocations: 3.984 kB / 474.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.139, allocations: 4 kB / 474.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.981e-05/0.1391, allocations: 149.7 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1391, allocations: 0 / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-07/0.1391, allocations: 0 / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1391, allocations: 3.938 kB / 474.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1391, allocations: 4 kB / 474.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1391, allocations: 4 kB / 474.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1391, allocations: 0 / 474.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.176e-05/0.1392, allocations: 102.6 kB / 474.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.1393, allocations: 77.11 kB / 474.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.1393, allocations: 7.938 kB / 474.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-06/0.1393, allocations: 3.984 kB / 474.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.1393, allocations: 0 / 474.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.1393, allocations: 0 / 474.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.558e-05/0.1394, allocations: 75.28 kB / 474.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1394, allocations: 0 / 474.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004214/0.1398, allocations: 120 kB / 474.7 MB, free: 8.379 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.0007274/0.1405, allocations: 184 kB / 474.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.242e-05/0.1406, allocations: 55.41 kB / 474.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1406, allocations: 4.062 kB / 474.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.218e-05/0.1407, allocations: 55.41 kB / 475 MB, free: 8.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.1408, allocations: 7.938 kB / 475 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001705/0.141, allocations: 80.92 kB / 475.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.1412, allocations: 0.6729 MB / 475.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.352e-06/0.1413, allocations: 0 / 475.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.166e-05/0.1413, allocations: 7.438 kB / 475.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1413, allocations: 0 / 475.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of Templates: time 0.00744/0.1487, allocations: 3.916 MB / 479.7 MB, free: 3.32 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)