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.001739/0.001739, allocations: 92.27 kB / 20.96 MB, free: 3.449 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.001551/0.001551, allocations: 156.9 kB / 24.26 MB, free: 152 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.532/1.532, allocations: 177 MB / 204.4 MB, free: 5.629 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.3652/0.3652, allocations: 34.24 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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 2.445e-06/2.445e-06, allocations: 0 / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.039e-05/4.283e-05, allocations: 6.25 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.002381/0.002424, allocations: 495.3 kB / 377.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005597/0.00802, allocations: 1.969 MB / 379.6 MB, free: 452 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-06/0.008025, allocations: 0 / 379.6 MB, free: 452 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.5e-06/0.008031, allocations: 0 / 379.6 MB, free: 452 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.793e-06/0.008033, allocations: 4 kB / 379.6 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.002829/0.01086, allocations: 0.5568 MB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 2.182e-05/0.01088, allocations: 0 / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.217e-05/0.01092, allocations: 0 / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.523e-05/0.01093, allocations: 0 / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.178e-05/0.01094, allocations: 0 / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.01095, allocations: 4 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.01358, allocations: 0.8652 MB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.01359, allocations: 0 / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.01362, allocations: 0 / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.01569, allocations: 0.826 MB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.0157, allocations: 4 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.0157, allocations: 0 / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.01571, allocations: 0 / 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.0006858/0.01639, allocations: 305.7 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.01645, allocations: 8.031 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.01657, allocations: 80.22 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.0168, allocations: 181.1 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.01694, allocations: 154.9 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.01706, allocations: 150.9 kB / 382.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.01719, allocations: 109.5 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.198e-05/0.01727, allocations: 75.47 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.01741, allocations: 154.9 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001421/0.01755, allocations: 158.5 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.0177, allocations: 150.6 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.0182, allocations: 401.5 kB / 383.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.01838, allocations: 169.1 kB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.108e-05/0.01847, allocations: 88.14 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.892e-05/0.01854, allocations: 75.28 kB / 384.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.01866, allocations: 105.8 kB / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.273e-06/0.01866, allocations: 0 / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001244/0.01879, allocations: 29.7 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/0.01897, allocations: 156.3 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.585e-05/0.01905, allocations: 89.86 kB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.0191, allocations: 29.7 kB / 384.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.129e-05/0.01918, allocations: 84.12 kB / 384.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-06/0.01918, allocations: 0 / 384.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.01923, allocations: 17.72 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002926/0.01952, allocations: 314.8 kB / 384.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.593e-06/0.01953, allocations: 0 / 384.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-05/0.01959, allocations: 25.7 kB / 384.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.053e-05/0.01966, allocations: 75.28 kB / 385 MB, free: 10.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.246e-05/0.01973, allocations: 79.28 kB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001021/0.01983, allocations: 25.7 kB / 385.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.04e-05/0.01992, allocations: 83.28 kB / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.447e-05/0.02, allocations: 79.22 kB / 385.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/0.02017, allocations: 154.5 kB / 385.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.459e-05/0.02024, allocations: 79.28 kB / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001568/0.0204, allocations: 166.5 kB / 385.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.02055, allocations: 75.28 kB / 385.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/0.02062, allocations: 79.22 kB / 385.8 MB, free: 10.05 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.0002625/0.02088, allocations: 260.4 kB / 386.1 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.02103, allocations: 109 kB / 386.2 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.02115, allocations: 116 kB / 386.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001644/0.02131, allocations: 180.2 kB / 386.5 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001566/0.02147, allocations: 176.3 kB / 386.6 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001702/0.02164, allocations: 188.1 kB / 386.8 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000448/0.02209, allocations: 348.9 kB / 387.2 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00011/0.0222, allocations: 113 kB / 387.3 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.311e-05/0.02229, allocations: 104.9 kB / 387.4 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/0.02245, allocations: 176.3 kB / 387.6 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/0.02263, allocations: 188.1 kB / 387.7 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001716/0.0228, allocations: 176.3 kB / 387.9 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001669/0.02297, allocations: 184.2 kB / 388.1 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.0233, allocations: 303.8 kB / 388.4 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.0234, allocations: 109.3 kB / 388.5 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.02357, allocations: 180.2 kB / 388.7 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.02377, allocations: 116.9 kB / 388.8 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.02392, allocations: 184.3 kB / 389 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.02404, allocations: 105 kB / 389.1 MB, free: 6.621 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.05e-05/0.02412, allocations: 79.22 kB / 389.1 MB, free: 6.543 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.02412, allocations: 4 kB / 389.1 MB, free: 6.539 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001049/0.02517, allocations: 147.6 kB / 389.3 MB, free: 6.395 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.001195/0.02636, allocations: 366.1 kB / 389.7 MB, free: 6.035 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.711e-05/0.02641, allocations: 0 / 389.7 MB, free: 6.035 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.02641, allocations: 0 / 389.7 MB, free: 6.035 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.542e-06/0.02641, allocations: 0 / 389.7 MB, free: 6.035 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006624/0.02708, allocations: 458.5 kB / 390.1 MB, free: 5.586 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.02735, allocations: 148.2 kB / 390.2 MB, free: 5.414 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.333e-05/0.02744, allocations: 59.34 kB / 390.3 MB, free: 5.336 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.612e-05/0.02746, allocations: 4 kB / 390.3 MB, free: 5.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.02748, allocations: 12.5 kB / 390.3 MB, free: 5.32 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02748, allocations: 3.938 kB / 390.3 MB, free: 5.316 MB / 362.7 MB Notification: Performance of Templates: time 0.01209/0.03957, allocations: 3.498 MB / 393.8 MB, free: 1.816 MB / 362.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] 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.940960854990408]