Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 82.19 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 163.5 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2639/0.2639, allocations: 34.28 MB / 295 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.691e-06/5.691e-06, allocations: 4 kB / 442.6 MB, free: 5.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.473e-05, allocations: 2.281 kB / 442.6 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0014/0.001435, allocations: 0.5112 MB / 443.2 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003269/0.004704, allocations: 1.954 MB / 445.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-06/0.004707, allocations: 0 / 445.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.078e-06/0.004711, allocations: 4 kB / 445.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.974e-06/0.004713, allocations: 0 / 445.1 MB, free: 2.953 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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.001801/0.006515, allocations: 0.5597 MB / 445.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 1.319e-05/0.006528, allocations: 0 / 445.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.727e-05/0.006555, allocations: 4 kB / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.185e-05/0.006567, allocations: 4 kB / 445.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.774e-06/0.006575, allocations: 0 / 445.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.025e-06/0.006583, allocations: 0 / 445.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.008013, allocations: 0.8652 MB / 446.6 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.32e-06/0.008018, allocations: 0 / 446.6 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.499e-05/0.008033, allocations: 0 / 446.6 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.009097, allocations: 0.8185 MB / 447.4 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.0091, allocations: 0 / 447.4 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.009101, allocations: 0 / 447.4 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.009104, allocations: 0 / 447.4 MB, free: 0.6992 MB / 366.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.000394/0.009498, allocations: 317.6 kB / 447.7 MB, free: 368 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.009531, allocations: 8.031 kB / 447.7 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.009589, allocations: 80.16 kB / 447.8 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.009704, allocations: 181.1 kB / 447.9 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2028/0.2125, allocations: 150.9 kB / 448.1 MB, free: 19.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.2125, allocations: 150.9 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.428e-05/0.2126, allocations: 102.2 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.2126, allocations: 76.06 kB / 448.4 MB, free: 18.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.2126, allocations: 154.8 kB / 448.6 MB, free: 18.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.2126, allocations: 152.2 kB / 448.7 MB, free: 18.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.086e-05/0.2127, allocations: 155.8 kB / 448.9 MB, free: 18.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.2129, allocations: 399.3 kB / 449.3 MB, free: 18.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.04e-05/0.2129, allocations: 168.1 kB / 449.4 MB, free: 17.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.561e-05/0.213, allocations: 81.77 kB / 449.5 MB, free: 17.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.213, allocations: 81.31 kB / 449.6 MB, free: 17.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.213, allocations: 112.7 kB / 449.7 MB, free: 17.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 2.044e-06/0.213, allocations: 0 / 449.7 MB, free: 17.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 9.666e-05/0.2131, allocations: 27.97 kB / 449.7 MB, free: 17.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.2132, allocations: 154.5 kB / 449.9 MB, free: 17.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.871e-05/0.2132, allocations: 90.61 kB / 450 MB, free: 17.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.802e-06/0.2132, allocations: 26.8 kB / 450 MB, free: 17.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.523e-05/0.2132, allocations: 84.67 kB / 450.1 MB, free: 17.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.2132, allocations: 1.156 kB / 450.1 MB, free: 17.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.2132, allocations: 11.52 kB / 450.1 MB, free: 17.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.497e-05/0.2133, allocations: 312.6 kB / 450.4 MB, free: 16.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-06/0.2133, allocations: 4.594 kB / 450.4 MB, free: 16.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-05/0.2133, allocations: 29.55 kB / 450.4 MB, free: 16.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.058e-05/0.2133, allocations: 77.02 kB / 450.5 MB, free: 16.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/0.2134, allocations: 79.22 kB / 450.6 MB, free: 16.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.69e-05/0.2134, allocations: 30.44 kB / 450.6 MB, free: 16.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.2134, allocations: 82.06 kB / 450.7 MB, free: 16.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.2135, allocations: 77.17 kB / 450.8 MB, free: 16.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.831e-05/0.2135, allocations: 156.3 kB / 450.9 MB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.198e-05/0.2135, allocations: 77.36 kB / 451 MB, free: 16.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.701e-05/0.2135, allocations: 160.2 kB / 451.1 MB, free: 16.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.064e-05/0.2136, allocations: 80.23 kB / 451.2 MB, free: 16.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.2136, allocations: 80.53 kB / 451.3 MB, free: 15.95 MB / 366.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 6.971e-05/0.2137, allocations: 268.1 kB / 451.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.2137, allocations: 106.2 kB / 451.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.2138, allocations: 107.3 kB / 451.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.874e-05/0.2138, allocations: 184.9 kB / 451.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.842e-05/0.2138, allocations: 178.2 kB / 452.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.628e-05/0.2139, allocations: 182.1 kB / 452.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.214, allocations: 353.2 kB / 452.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.214, allocations: 107 kB / 452.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.584e-05/0.214, allocations: 108.7 kB / 452.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.438e-05/0.214, allocations: 178.6 kB / 453 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.2141, allocations: 184.4 kB / 453.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.56e-05/0.2141, allocations: 182 kB / 453.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.803e-05/0.2141, allocations: 180.2 kB / 453.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.088e-05/0.2142, allocations: 309.1 kB / 453.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.2142, allocations: 112.9 kB / 454 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.2142, allocations: 180.2 kB / 454.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/0.2143, allocations: 109.9 kB / 454.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.2143, allocations: 184.2 kB / 454.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.2143, allocations: 102.8 kB / 454.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.357e-05/0.2144, allocations: 75.28 kB / 454.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2144, allocations: 0 / 454.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006754/0.215, allocations: 150.1 kB / 454.8 MB, free: 12.52 MB / 366.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.000734/0.2158, allocations: 360.3 kB / 455.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.835e-05/0.2158, allocations: 8.875 kB / 455.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2158, allocations: 0 / 455.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.2158, allocations: 4.891 kB / 455.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.2161, allocations: 461.9 kB / 455.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001154/0.2162, allocations: 146.6 kB / 455.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.789e-05/0.2162, allocations: 55.25 kB / 455.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.514e-06/0.2162, allocations: 0.75 kB / 455.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.108e-05/0.2162, allocations: 13.94 kB / 455.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2162, allocations: 0 / 455.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of Templates: time 0.008079/0.2243, allocations: 3.478 MB / 459.3 MB, free: 11.47 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 5.162624090909958]