Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001267, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 210.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2202/0.2202, allocations: 46.1 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 79.81 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3318, allocations: 62.44 MB / 0.5316 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001363/0.3332, allocations: 487.9 kB / 0.5321 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002719/0.336, allocations: 2.031 MB / 0.5341 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-06/0.336, allocations: 0 / 0.5341 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.597e-06/0.336, allocations: 4 kB / 0.5341 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.132e-06/0.336, allocations: 1.375 kB / 0.5341 GB, free: 11.62 MB / 398.1 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.001519/0.3376, allocations: 0.5095 MB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 2.139e-05/0.3376, allocations: 5.375 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.984e-05/0.3376, allocations: 3.984 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.256e-06/0.3376, allocations: 1.375 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.548e-06/0.3376, allocations: 0 / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.897e-06/0.3377, allocations: 0 / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.339, allocations: 0.8944 MB / 0.5355 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.212e-06/0.339, allocations: 5.219 kB / 0.5355 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.027e-05/0.339, allocations: 0 / 0.5355 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009369/0.3399, allocations: 0.8012 MB / 0.5363 GB, free: 10.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.34, allocations: 0 / 0.5363 GB, free: 10.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.34, allocations: 0.9688 kB / 0.5363 GB, free: 10.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.34, allocations: 0 / 0.5363 GB, free: 10.39 MB / 398.1 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.0003657/0.3403, allocations: 372.8 kB / 0.5366 GB, free: 9.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3404, allocations: 9.938 kB / 0.5366 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.3404, allocations: 76.22 kB / 0.5367 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.3405, allocations: 239.7 kB / 0.5369 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.1e-05/0.3406, allocations: 152 kB / 0.5371 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.3407, allocations: 150.9 kB / 0.5372 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.001e-05/0.3407, allocations: 114.3 kB / 0.5373 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.3408, allocations: 75.28 kB / 0.5374 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/0.3408, allocations: 159.5 kB / 0.5376 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-05/0.3409, allocations: 154.5 kB / 0.5377 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/0.3409, allocations: 151.6 kB / 0.5378 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002502/0.3412, allocations: 439.1 kB / 0.5383 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.753e-05/0.3413, allocations: 174.5 kB / 0.5384 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.3413, allocations: 80.14 kB / 0.5385 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.3414, allocations: 79.22 kB / 0.5386 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.3414, allocations: 114.9 kB / 0.5387 GB, free: 7.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3414, allocations: 1.156 kB / 0.5387 GB, free: 7.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.12e-05/0.3415, allocations: 25.7 kB / 0.5387 GB, free: 7.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/0.3416, allocations: 165.4 kB / 0.5389 GB, free: 7.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.404e-05/0.3416, allocations: 89.86 kB / 0.539 GB, free: 7.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.3416, allocations: 27.17 kB / 0.539 GB, free: 7.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.602e-05/0.3417, allocations: 84.14 kB / 0.5391 GB, free: 7.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.3417, allocations: 0 / 0.5391 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.3417, allocations: 12 kB / 0.5391 GB, free: 7.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.688e-05/0.3418, allocations: 310.8 kB / 0.5394 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-06/0.3418, allocations: 0 / 0.5394 GB, free: 7.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.687e-05/0.3418, allocations: 5.062 kB / 0.5394 GB, free: 7.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.22e-05/0.3419, allocations: 80.47 kB / 0.5395 GB, free: 6.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.193e-05/0.3419, allocations: 75.28 kB / 0.5395 GB, free: 6.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.882e-05/0.342, allocations: 27.89 kB / 0.5396 GB, free: 6.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.342, allocations: 84.81 kB / 0.5396 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-05/0.342, allocations: 84.38 kB / 0.5397 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.089e-05/0.3421, allocations: 155.6 kB / 0.5399 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.021e-05/0.3421, allocations: 75.33 kB / 0.5399 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.552e-05/0.3422, allocations: 171.6 kB / 0.5401 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.595e-05/0.3423, allocations: 76.44 kB / 0.5402 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.3423, allocations: 76.38 kB / 0.5402 GB, free: 6.117 MB / 398.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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.3424, allocations: 262.6 kB / 0.5405 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.3425, allocations: 114 kB / 0.5406 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.898e-05/0.3425, allocations: 111.9 kB / 0.5407 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.856e-05/0.3426, allocations: 185.3 kB / 0.5409 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.306e-05/0.3427, allocations: 177.3 kB / 0.5411 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.787e-05/0.3427, allocations: 177.3 kB / 0.5412 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.343, allocations: 403.3 kB / 0.5416 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.846e-05/0.343, allocations: 105 kB / 0.5417 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.441e-05/0.3431, allocations: 110.1 kB / 0.5418 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.52e-05/0.3431, allocations: 181.2 kB / 0.542 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.701e-05/0.3432, allocations: 181.4 kB / 0.5422 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.494e-05/0.3433, allocations: 181.2 kB / 0.5423 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.537e-05/0.3433, allocations: 177.4 kB / 0.5425 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.3435, allocations: 311 kB / 0.5428 GB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.3436, allocations: 187.1 kB / 0.543 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.451e-05/0.3436, allocations: 181.3 kB / 0.5432 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.473e-05/0.3437, allocations: 102 kB / 0.5433 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.3438, allocations: 193.3 kB / 0.5434 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.3439, allocations: 102 kB / 0.5435 GB, free: 2.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.044e-05/0.3439, allocations: 76.31 kB / 0.5436 GB, free: 2.477 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3439, allocations: 0 / 0.5436 GB, free: 2.477 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006719/0.3446, allocations: 150.4 kB / 0.5438 GB, free: 2.441 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0007425/0.3453, allocations: 339.1 kB / 0.5441 GB, free: 2.199 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.514e-05/0.3454, allocations: 6.125 kB / 0.5441 GB, free: 2.195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3454, allocations: 0 / 0.5441 GB, free: 2.195 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.3454, allocations: 4 kB / 0.5441 GB, free: 2.191 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.3457, allocations: 457.8 kB / 0.5445 GB, free: 1.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001508/0.3459, allocations: 170.8 kB / 0.5447 GB, free: 1.547 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.3461, allocations: 0.6729 MB / 0.5453 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.3461, allocations: 8.5 kB / 0.5453 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3461, allocations: 0 / 0.5453 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of Templates: time 0.006308/0.3524, allocations: 2.916 MB / 0.5482 GB, free: 15.38 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches