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.001126/0.001126, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001108/0.001109, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.384/1.384, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.224/0.224, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 65.97 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.116, allocations: 60.82 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001877/0.1179, allocations: 491.7 kB / 470.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.1199, allocations: 1.512 MB / 471.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.065e-05/0.1199, allocations: 4 kB / 471.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.259e-05/0.12, allocations: 4 kB / 471.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.069e-06/0.12, allocations: 0 / 471.9 MB, free: 12.37 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.0008952/0.1209, allocations: 227.4 kB / 472.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.528e-05/0.121, allocations: 0 / 472.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.121, allocations: 0 / 472.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.85e-05/0.121, allocations: 3.984 kB / 472.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.726e-05/0.121, allocations: 4 kB / 472.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.18e-06/0.1211, allocations: 0 / 472.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009463/0.122, allocations: 0.6986 MB / 472.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.166e-06/0.122, allocations: 4 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.1221, allocations: 3.938 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007027/0.1228, allocations: 0.6396 MB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1228, allocations: 0 / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1228, allocations: 0 / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1228, allocations: 4 kB / 473.5 MB, free: 10.79 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.0004533/0.1233, allocations: 364.2 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1233, allocations: 15.97 kB / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.1233, allocations: 0.9375 kB / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.1235, allocations: 168.4 kB / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1235, allocations: 4.312 kB / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.1235, allocations: 384 / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.278e-05/0.1236, allocations: 42 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1236, allocations: 0 / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1236, allocations: 0 / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1236, allocations: 0 / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.659e-05/0.1236, allocations: 0 / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.1238, allocations: 145.7 kB / 474.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.632e-05/0.1238, allocations: 26.5 kB / 474.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.1238, allocations: 4.953 kB / 474.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-06/0.1239, allocations: 7.938 kB / 474.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.1239, allocations: 64.2 kB / 474.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.1239, allocations: 0 / 474.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001717/0.1241, allocations: 59.41 kB / 474.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1241, allocations: 81.22 kB / 474.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.758e-05/0.1242, allocations: 93.86 kB / 474.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1242, allocations: 25.7 kB / 474.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.267e-05/0.1242, allocations: 80.14 kB / 474.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.1243, allocations: 0 / 474.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.1243, allocations: 17.72 kB / 474.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1244, allocations: 310.8 kB / 475 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-06/0.1244, allocations: 3.938 kB / 475 MB, free: 9.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-06/0.1245, allocations: 4 kB / 475 MB, free: 9.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.854e-05/0.1245, allocations: 60.33 kB / 475 MB, free: 8.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1245, allocations: 7.984 kB / 475.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.036e-05/0.1246, allocations: 59.41 kB / 475.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.1246, allocations: 37.64 kB / 475.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1246, allocations: 0 / 475.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1246, allocations: 0 / 475.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.1246, allocations: 0 / 475.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1247, allocations: 0 / 475.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.1247, allocations: 0 / 475.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1247, allocations: 4.031 kB / 475.1 MB, free: 8.863 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 7.663e-05/0.1248, allocations: 143.5 kB / 475.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.1248, allocations: 7.922 kB / 475.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.007e-05/0.1248, allocations: 3.125 kB / 475.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.1248, allocations: 0 / 475.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1248, allocations: 4 kB / 475.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1248, allocations: 0 / 475.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.489e-05/0.1249, allocations: 149.6 kB / 475.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1249, allocations: 0 / 475.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1249, allocations: 4 kB / 475.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1249, allocations: 3.938 kB / 475.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.125, allocations: 8 kB / 475.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.125, allocations: 4 kB / 475.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.125, allocations: 0 / 475.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.835e-05/0.1251, allocations: 94.67 kB / 475.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.1251, allocations: 81.11 kB / 475.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.1251, allocations: 3.969 kB / 475.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-06/0.1251, allocations: 4 kB / 475.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.1252, allocations: 0 / 475.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.1252, allocations: 3.938 kB / 475.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.721e-05/0.1252, allocations: 75.28 kB / 475.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1252, allocations: 4 kB / 475.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004103/0.1256, allocations: 120 kB / 475.8 MB, free: 8.055 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.0007282/0.1264, allocations: 172.6 kB / 476 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.1265, allocations: 59.39 kB / 476.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1265, allocations: 0 / 476.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.011e-05/0.1265, allocations: 55.41 kB / 476.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.1267, allocations: 10.31 kB / 476.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001978/0.1269, allocations: 102.6 kB / 476.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.1271, allocations: 0.6729 MB / 476.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.227e-05/0.1271, allocations: 7.438 kB / 476.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1271, allocations: 3.938 kB / 476.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of Templates: time 0.004618/0.1318, allocations: 2.709 MB / 479.6 MB, free: 4.188 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)