Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009905/0.0009907, allocations: 194.8 kB / 16.75 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 226.5 MB / 244 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007916/0.0007916, allocations: 110.5 kB / 296.1 MB, free: 6.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3149/0.3149, allocations: 44.81 MB / 392.9 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002605/0.0002605, allocations: 8 kB / 465.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3081, allocations: 62.96 MB / 0.5165 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0004554/0.3086, allocations: 216.7 kB / 0.5167 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.3106, allocations: 1.93 MB / 0.5186 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.837e-06/0.3106, allocations: 0 / 0.5186 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.328e-06/0.3106, allocations: 0 / 0.5186 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.943e-06/0.3107, allocations: 4 kB / 0.5186 GB, free: 35.57 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/package.mo:697:5-750:29:writable] Warning: Pure function ‘Modelica.Math.Matrices.Examples.solveLinearEquations‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.3118, allocations: 468.1 kB / 0.519 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 1.253e-05/0.3119, allocations: 4 kB / 0.519 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.409e-05/0.3119, allocations: 0 / 0.519 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.843e-06/0.3119, allocations: 0 / 0.519 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.273e-05/0.3119, allocations: 0 / 0.519 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.238e-06/0.3119, allocations: 0 / 0.519 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009331/0.3129, allocations: 0.835 MB / 0.5199 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.612e-06/0.3129, allocations: 0 / 0.5199 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.3129, allocations: 25.7 kB / 0.5199 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004682/0.3134, allocations: 0.5478 MB / 0.5204 GB, free: 35.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3134, allocations: 0 / 0.5204 GB, free: 35.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3134, allocations: 3.938 kB / 0.5204 GB, free: 35.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.3134, allocations: 0 / 0.5204 GB, free: 35.11 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002553/0.3137, allocations: 379.5 kB / 0.5208 GB, free: 34.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3137, allocations: 8.688 kB / 0.5208 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.3138, allocations: 80.22 kB / 0.5209 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.037e-05/0.3138, allocations: 235.7 kB / 0.5211 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.3138, allocations: 150.9 kB / 0.5212 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.3139, allocations: 150.9 kB / 0.5214 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.738e-05/0.3139, allocations: 115.6 kB / 0.5215 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.314, allocations: 75.28 kB / 0.5216 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.314, allocations: 158.6 kB / 0.5217 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.314, allocations: 150.6 kB / 0.5219 GB, free: 33.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.303e-05/0.314, allocations: 154.5 kB / 0.522 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.3142, allocations: 440.8 kB / 0.5224 GB, free: 32.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.723e-05/0.3143, allocations: 173.1 kB / 0.5226 GB, free: 32.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.3143, allocations: 80.14 kB / 0.5227 GB, free: 32.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.3143, allocations: 75.28 kB / 0.5227 GB, free: 32.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.3143, allocations: 120 kB / 0.5229 GB, free: 32.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3143, allocations: 0 / 0.5229 GB, free: 32.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 5.426e-05/0.3144, allocations: 25.7 kB / 0.5229 GB, free: 32.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.3144, allocations: 81.11 kB / 0.523 GB, free: 32.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.75e-05/0.3144, allocations: 89.86 kB / 0.523 GB, free: 32.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.3145, allocations: 25.7 kB / 0.5231 GB, free: 32.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.51e-05/0.3145, allocations: 82.92 kB / 0.5231 GB, free: 32.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-06/0.3145, allocations: 0 / 0.5231 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-07/0.3145, allocations: 0 / 0.5231 GB, free: 32.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.462e-05/0.3145, allocations: 314.8 kB / 0.5234 GB, free: 31.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-06/0.3145, allocations: 0 / 0.5234 GB, free: 31.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.86e-05/0.3146, allocations: 0 / 0.5234 GB, free: 31.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.521e-05/0.3146, allocations: 86.25 kB / 0.5235 GB, free: 31.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.3146, allocations: 75.28 kB / 0.5236 GB, free: 31.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.089e-05/0.3147, allocations: 32.83 kB / 0.5236 GB, free: 31.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3147, allocations: 81.09 kB / 0.5237 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.3147, allocations: 82.12 kB / 0.5238 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/0.3147, allocations: 154.5 kB / 0.5239 GB, free: 31.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.053e-05/0.3148, allocations: 75.28 kB / 0.524 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.513e-05/0.3148, allocations: 157.2 kB / 0.5242 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.639e-05/0.3148, allocations: 86.55 kB / 0.5242 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3149, allocations: 75.28 kB / 0.5243 GB, free: 30.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 5.229e-05/0.3149, allocations: 259.4 kB / 0.5246 GB, free: 30.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.315, allocations: 108.9 kB / 0.5247 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.292e-05/0.315, allocations: 115.4 kB / 0.5248 GB, free: 30.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-05/0.315, allocations: 179.6 kB / 0.5249 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/0.315, allocations: 117 kB / 0.5251 GB, free: 30.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.3151, allocations: 178.1 kB / 0.5252 GB, free: 29.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.3151, allocations: 187.4 kB / 0.5254 GB, free: 29.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.925e-05/0.3152, allocations: 101 kB / 0.5255 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.3152, allocations: 180.3 kB / 0.5257 GB, free: 29.5 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.83e-05/0.3152, allocations: 258.5 kB / 0.5259 GB, free: 29.24 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 7.64e-05/0.3153, allocations: 389 kB / 0.5263 GB, free: 28.84 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.447e-05/0.3154, allocations: 107.7 kB / 0.5264 GB, free: 28.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.383e-05/0.3154, allocations: 79.28 kB / 0.5265 GB, free: 28.66 MB / 378.7 MB Notification: Performance of Backend: time 1.8e-07/0.3154, allocations: 0 / 0.5265 GB, free: 28.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007779/0.3162, allocations: 241.7 kB / 0.5267 GB, free: 28.55 MB / 378.7 MB Notification: Performance of SimCode: time 0.0002176/0.3164, allocations: 0.9953 MB / 0.5277 GB, free: 27.5 MB / 378.7 MB Notification: Performance of Templates: time 0.004087/0.3205, allocations: 2.887 MB / 0.5305 GB, free: 27.28 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1)