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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001041/0.001041, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009209/0.0009209, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.933/0.933, allocations: 177 MB / 205.2 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2809/0.2809, allocations: 34.86 MB / 296.6 MB, free: 500 kB / 266.7 MB " [Timeout remaining time 180] 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=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 3.938 kB / 378.7 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.058e-05, allocations: 3.578 kB / 378.7 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001306/0.001337, allocations: 0.4914 MB / 379.2 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002611/0.003948, allocations: 2.012 MB / 381.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.055e-05/0.003958, allocations: 0 / 381.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 7.814e-06/0.003966, allocations: 0 / 381.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 1.432e-06/0.003968, allocations: 4 kB / 381.2 MB, free: 15.87 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/package.mo:697:5-760: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.001553/0.00552, allocations: 0.5568 MB / 381.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 1.925e-05/0.00554, allocations: 4 kB / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.594e-05/0.005566, allocations: 3.984 kB / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.235e-05/0.005578, allocations: 0 / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.057e-06/0.005587, allocations: 4 kB / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.925e-06/0.005595, allocations: 0 / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.006641, allocations: 0.8613 MB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.59e-06/0.006646, allocations: 0 / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.233e-05/0.006658, allocations: 4 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008921/0.007551, allocations: 0.8183 MB / 383.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.007556, allocations: 4 kB / 383.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007557, allocations: 0 / 383.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.007562, allocations: 0 / 383.5 MB, free: 13.61 MB / 362.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.0003809/0.007943, allocations: 411.6 kB / 383.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.007985, allocations: 12.02 kB / 383.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.511e-05/0.008051, allocations: 120.1 kB / 384 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.594e-05/0.008146, allocations: 223.8 kB / 384.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.534e-05/0.008212, allocations: 246.8 kB / 384.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.067e-05/0.008272, allocations: 238.8 kB / 384.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.215e-05/0.008345, allocations: 149.5 kB / 384.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/0.008377, allocations: 119.4 kB / 385 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-05/0.008448, allocations: 246.7 kB / 385.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.59e-05/0.008514, allocations: 242.3 kB / 385.5 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.38e-05/0.008578, allocations: 238.4 kB / 385.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.008842, allocations: 0.5759 MB / 386.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.948e-05/0.008942, allocations: 265.4 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.049e-05/0.008982, allocations: 126.9 kB / 386.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.009019, allocations: 123.1 kB / 386.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/0.009072, allocations: 156.6 kB / 386.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.009073, allocations: 0 / 386.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.838e-05/0.009141, allocations: 25.7 kB / 387 MB, free: 10 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.007e-05/0.009221, allocations: 200.2 kB / 387.2 MB, free: 9.789 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.646e-05/0.009268, allocations: 150.2 kB / 387.3 MB, free: 9.629 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.009279, allocations: 25.7 kB / 387.3 MB, free: 9.598 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.009317, allocations: 130.9 kB / 387.5 MB, free: 9.465 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-06/0.009319, allocations: 0 / 387.5 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.009347, allocations: 15.38 kB / 387.5 MB, free: 9.441 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.009486, allocations: 496.1 kB / 388 MB, free: 8.945 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-06/0.009491, allocations: 0 / 388 MB, free: 8.945 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.009529, allocations: 33.62 kB / 388 MB, free: 8.906 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.243e-05/0.009571, allocations: 119.2 kB / 388.1 MB, free: 8.789 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.85e-05/0.009599, allocations: 119.2 kB / 388.2 MB, free: 8.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.651e-05/0.009636, allocations: 29.7 kB / 388.2 MB, free: 8.637 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/0.009674, allocations: 127.1 kB / 388.4 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.139e-05/0.009705, allocations: 119.2 kB / 388.5 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.146e-05/0.009777, allocations: 250.3 kB / 388.7 MB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.974e-05/0.009806, allocations: 123.2 kB / 388.9 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-05/0.009869, allocations: 246.2 kB / 389.1 MB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.492e-05/0.009924, allocations: 127.2 kB / 389.2 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.009953, allocations: 123.2 kB / 389.3 MB, free: 7.539 MB / 362.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.01007, allocations: 398.9 kB / 389.7 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.01012, allocations: 144.9 kB / 389.9 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.623e-05/0.01016, allocations: 151.9 kB / 390 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.606e-05/0.01023, allocations: 272 kB / 390.3 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.006e-05/0.01029, allocations: 268.1 kB / 390.5 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.015e-05/0.01035, allocations: 276 kB / 390.8 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.0105, allocations: 491.9 kB / 391.3 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-05/0.01054, allocations: 148.9 kB / 391.4 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.345e-05/0.01057, allocations: 152.8 kB / 391.6 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.419e-05/0.01062, allocations: 268.1 kB / 391.8 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-05/0.01068, allocations: 268 kB / 392.1 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.08e-05/0.01074, allocations: 268.1 kB / 392.4 MB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.279e-05/0.0108, allocations: 264.4 kB / 392.6 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.01092, allocations: 455.9 kB / 393.1 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.01096, allocations: 148.8 kB / 393.2 MB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.17e-05/0.01102, allocations: 272.1 kB / 393.5 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.241e-05/0.01107, allocations: 148.9 kB / 393.6 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/0.01114, allocations: 280 kB / 393.9 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.01117, allocations: 148.9 kB / 394.1 MB, free: 2.625 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.33e-05/0.01121, allocations: 123.1 kB / 394.2 MB, free: 2.504 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01121, allocations: 0 / 394.2 MB, free: 2.504 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004362/0.01164, allocations: 151.6 kB / 394.3 MB, free: 2.355 MB / 362.7 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.0005822/0.01223, allocations: 403.4 kB / 394.7 MB, free: 1.957 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.765e-05/0.01227, allocations: 11.94 kB / 394.7 MB, free: 1.945 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01228, allocations: 0 / 394.7 MB, free: 1.945 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.31e-07/0.01228, allocations: 0 / 394.7 MB, free: 1.945 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.01254, allocations: 0.7023 MB / 395.4 MB, free: 1.238 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001429/0.01268, allocations: 206.1 kB / 395.6 MB, free: 1.008 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.029e-05/0.01271, allocations: 51.36 kB / 395.7 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.347e-06/0.01272, allocations: 0 / 395.7 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.01274, allocations: 12.5 kB / 395.7 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01274, allocations: 0 / 395.7 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of Templates: time 0.004947/0.01768, allocations: 3.522 MB / 399.2 MB, free: 13.41 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1771277158986777]