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.00155/0.00155, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.001758/0.001758, allocations: 165.4 kB / 25.61 MB, free: 8.578 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.941/0.941, allocations: 177 MB / 205.9 MB, free: 4.43 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.1445/0.1445, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.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 9.22e-07/9.22e-07, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.502e-05, allocations: 3.438 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0008332/0.0008482, allocations: 499.2 kB / 380.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.002657, allocations: 2 MB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-06/0.002661, allocations: 0 / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 8.415e-06/0.00267, allocations: 0 / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 1.503e-06/0.002671, allocations: 0 / 382.5 MB, free: 20.25 MB / 314.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.001131/0.003802, allocations: 0.5568 MB / 383 MB, free: 19.69 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 1.662e-05/0.003819, allocations: 4 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.292e-05/0.003842, allocations: 0 / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.041e-05/0.003852, allocations: 0 / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.47e-06/0.003858, allocations: 0 / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.492e-06/0.003864, allocations: 0 / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000701/0.004565, allocations: 0.8652 MB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-06/0.004571, allocations: 0 / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.265e-05/0.004584, allocations: 0 / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005306/0.005114, allocations: 0.826 MB / 384.7 MB, free: 17.99 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005116, allocations: 4 kB / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005117, allocations: 0 / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.00512, allocations: 3.984 kB / 384.7 MB, free: 17.98 MB / 314.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.0001881/0.005308, allocations: 407.7 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.005337, allocations: 12.03 kB / 385.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.005366, allocations: 124.1 kB / 385.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.166e-05/0.005407, allocations: 223.8 kB / 385.5 MB, free: 17.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.005436, allocations: 238.8 kB / 385.7 MB, free: 16.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.005455, allocations: 242.8 kB / 386 MB, free: 16.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.813e-05/0.005493, allocations: 145.5 kB / 386.1 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.005505, allocations: 119.4 kB / 386.2 MB, free: 16.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.005527, allocations: 250.6 kB / 386.5 MB, free: 16.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.005549, allocations: 246.3 kB / 386.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.103e-05/0.00557, allocations: 242.4 kB / 386.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.005681, allocations: 0.5491 MB / 387.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.753e-05/0.005728, allocations: 273.4 kB / 387.8 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.005743, allocations: 130.8 kB / 387.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.005754, allocations: 119.2 kB / 388 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.005778, allocations: 156.6 kB / 388.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.005779, allocations: 0 / 388.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 3.961e-05/0.005819, allocations: 25.7 kB / 388.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.005855, allocations: 200.3 kB / 388.4 MB, free: 14.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.005e-05/0.005875, allocations: 142.2 kB / 388.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.659e-06/0.00588, allocations: 29.7 kB / 388.5 MB, free: 14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.51e-05/0.005895, allocations: 130.9 kB / 388.7 MB, free: 13.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.42e-07/0.005896, allocations: 0 / 388.7 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.425e-05/0.00591, allocations: 15.38 kB / 388.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.483e-05/0.005955, allocations: 496.1 kB / 389.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.686e-06/0.005958, allocations: 0 / 389.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.567e-05/0.005973, allocations: 37.62 kB / 389.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.285e-05/0.005986, allocations: 119.2 kB / 389.3 MB, free: 13.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.005998, allocations: 119.2 kB / 389.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.772e-05/0.006026, allocations: 33.73 kB / 389.5 MB, free: 13.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.006047, allocations: 124.8 kB / 389.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.006059, allocations: 119.2 kB / 389.7 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.006086, allocations: 246.3 kB / 389.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.428e-06/0.006096, allocations: 119.2 kB / 390.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/0.006115, allocations: 242.3 kB / 390.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.544e-05/0.00615, allocations: 131.2 kB / 390.4 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.006161, allocations: 127.2 kB / 390.6 MB, free: 11.94 MB / 314.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 5.351e-05/0.006215, allocations: 398.9 kB / 390.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.006239, allocations: 148.9 kB / 391.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.752e-05/0.006257, allocations: 151.9 kB / 391.2 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.006279, allocations: 268 kB / 391.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.259e-05/0.006302, allocations: 276 kB / 391.8 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/0.006321, allocations: 268 kB / 392 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.515e-05/0.006406, allocations: 484.5 kB / 392.5 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.006418, allocations: 148.8 kB / 392.6 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.078e-05/0.006429, allocations: 148.8 kB / 392.8 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.051e-05/0.006449, allocations: 268.1 kB / 393.1 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.006471, allocations: 272 kB / 393.3 MB, free: 9.062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.81e-05/0.006489, allocations: 264.1 kB / 393.6 MB, free: 8.797 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.916e-05/0.006508, allocations: 272.1 kB / 393.8 MB, free: 8.523 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.325e-05/0.006562, allocations: 460.3 kB / 394.3 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.006575, allocations: 148.8 kB / 394.4 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.006599, allocations: 268.1 kB / 394.7 MB, free: 7.625 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.182e-05/0.006631, allocations: 144.9 kB / 394.8 MB, free: 7.477 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.006655, allocations: 268 kB / 395.1 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.006668, allocations: 152.9 kB / 395.3 MB, free: 7.051 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.75e-05/0.006686, allocations: 119.2 kB / 395.4 MB, free: 6.934 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006686, allocations: 0 / 395.4 MB, free: 6.934 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00032/0.007006, allocations: 147.6 kB / 395.5 MB, free: 6.789 MB / 314.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.0004239/0.00743, allocations: 400.5 kB / 395.9 MB, free: 6.398 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 3.456e-05/0.007464, allocations: 7.938 kB / 395.9 MB, free: 6.391 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.007465, allocations: 0 / 395.9 MB, free: 6.391 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.007466, allocations: 4 kB / 395.9 MB, free: 6.387 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.007622, allocations: 0.7139 MB / 396.6 MB, free: 5.668 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 7.868e-05/0.0077, allocations: 196 kB / 396.8 MB, free: 5.449 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.655e-05/0.007717, allocations: 59.22 kB / 396.9 MB, free: 5.371 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.222e-06/0.007723, allocations: 3.938 kB / 396.9 MB, free: 5.367 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.00774, allocations: 66.2 kB / 396.9 MB, free: 5.301 MB / 314.7 MB Notification: Performance of SimCode: time 6.52e-07/0.00774, allocations: 0 / 396.9 MB, free: 5.301 MB / 314.7 MB Notification: Performance of Templates: time 0.004287/0.01203, allocations: 4.084 MB / 401 MB, free: 1.227 MB / 314.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.216534732375294]