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.002315/0.002315, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.003027/0.003027, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 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 1.589/1.589, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3488/0.3488, allocations: 34.26 MB / 295.2 MB, free: 0.6602 MB / 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.232e-06/1.232e-06, allocations: 0 / 377.2 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.342e-05, allocations: 6.25 kB / 377.2 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001493/0.001527, allocations: 0.4905 MB / 377.7 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003348/0.004874, allocations: 1.997 MB / 379.7 MB, free: 452 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-06/0.004879, allocations: 3.938 kB / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.266e-06/0.004882, allocations: 0 / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.022e-06/0.004883, allocations: 0 / 379.7 MB, free: 448 kB / 346.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.0018/0.006683, allocations: 0.5568 MB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 1.442e-05/0.006697, allocations: 0 / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.006736, allocations: 7.984 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.426e-05/0.00675, allocations: 0 / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.496e-06/0.006759, allocations: 0 / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.135e-06/0.006767, allocations: 0 / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.008355, allocations: 0.8613 MB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-06/0.00836, allocations: 0 / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.416e-05/0.008374, allocations: 0 / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.009597, allocations: 0.826 MB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.009599, allocations: 0 / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.0096, allocations: 0 / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.009608, allocations: 4 kB / 381.9 MB, free: 14.18 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.0004559/0.01006, allocations: 403.7 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.0101, allocations: 12.03 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.47e-05/0.0102, allocations: 120.1 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.01035, allocations: 227.8 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.01047, allocations: 246.8 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.01059, allocations: 238.8 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.01072, allocations: 149.4 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.325e-05/0.01078, allocations: 119.4 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.0109, allocations: 238.8 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/0.01103, allocations: 250.3 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003492/0.01138, allocations: 238.4 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.01179, allocations: 0.5642 MB / 384.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.01196, allocations: 269.4 kB / 385 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.223e-05/0.01204, allocations: 130.8 kB / 385.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.548e-05/0.0121, allocations: 119.2 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001085/0.01221, allocations: 168.6 kB / 385.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.01221, allocations: 0 / 385.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.568e-05/0.01229, allocations: 25.7 kB / 385.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.01242, allocations: 200.2 kB / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.662e-05/0.0125, allocations: 142.2 kB / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.01252, allocations: 25.7 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.255e-05/0.01261, allocations: 130.9 kB / 385.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.01262, allocations: 3.938 kB / 385.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.01265, allocations: 15.38 kB / 385.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002585/0.0129, allocations: 492.1 kB / 386.4 MB, free: 9.523 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.783e-06/0.01291, allocations: 8 kB / 386.4 MB, free: 9.516 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.31e-05/0.01294, allocations: 25.7 kB / 386.4 MB, free: 9.484 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.174e-05/0.01302, allocations: 127.2 kB / 386.5 MB, free: 9.359 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.037e-05/0.01308, allocations: 119.2 kB / 386.6 MB, free: 9.242 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.786e-05/0.01313, allocations: 33.69 kB / 386.7 MB, free: 9.203 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.348e-05/0.01321, allocations: 123.2 kB / 386.8 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.564e-05/0.01327, allocations: 123.1 kB / 386.9 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000131/0.0134, allocations: 242.4 kB / 387.2 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.217e-05/0.01347, allocations: 119.2 kB / 387.3 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001363/0.0136, allocations: 246.2 kB / 387.5 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.01371, allocations: 123.2 kB / 387.6 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-05/0.01378, allocations: 135.2 kB / 387.8 MB, free: 8.109 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.000229/0.014, allocations: 395 kB / 388.2 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.822e-05/0.0141, allocations: 148.9 kB / 388.3 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.912e-05/0.01419, allocations: 151.8 kB / 388.4 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001344/0.01433, allocations: 264.1 kB / 388.7 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000137/0.01446, allocations: 268.1 kB / 389 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001535/0.01462, allocations: 279.9 kB / 389.2 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.01494, allocations: 491.9 kB / 389.7 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-05/0.01502, allocations: 148.8 kB / 389.9 MB, free: 5.914 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.327e-05/0.01511, allocations: 148.9 kB / 390 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.01525, allocations: 276.1 kB / 390.3 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/0.01538, allocations: 268 kB / 390.5 MB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001533/0.01554, allocations: 268.1 kB / 390.8 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001419/0.01568, allocations: 276.3 kB / 391.1 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004975/0.01618, allocations: 448 kB / 391.5 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.38e-05/0.01626, allocations: 148.8 kB / 391.7 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.01643, allocations: 272.1 kB / 391.9 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.01655, allocations: 148.8 kB / 392.1 MB, free: 3.625 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.01669, allocations: 264.1 kB / 392.3 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.212e-05/0.01677, allocations: 152.9 kB / 392.5 MB, free: 3.203 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.927e-05/0.01684, allocations: 127.1 kB / 392.6 MB, free: 3.078 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01684, allocations: 3.938 kB / 392.6 MB, free: 3.074 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007038/0.01754, allocations: 147.6 kB / 392.7 MB, free: 2.93 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.0008649/0.01841, allocations: 399.8 kB / 393.1 MB, free: 2.535 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.404e-05/0.01845, allocations: 0 / 393.1 MB, free: 2.535 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01845, allocations: 0 / 393.1 MB, free: 2.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/0.01846, allocations: 8 kB / 393.1 MB, free: 2.527 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.019, allocations: 0.7062 MB / 393.9 MB, free: 1.816 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002037/0.0192, allocations: 201.7 kB / 394 MB, free: 1.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.563e-05/0.01926, allocations: 51.36 kB / 394.1 MB, free: 1.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.382e-06/0.01926, allocations: 0 / 394.1 MB, free: 1.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.01928, allocations: 16.44 kB / 394.1 MB, free: 1.504 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01928, allocations: 4 kB / 394.1 MB, free: 1.5 MB / 362.7 MB Notification: Performance of Templates: time 0.007967/0.02725, allocations: 3.508 MB / 397.6 MB, free: 13.99 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9002652580384165]