Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001933/0.001933, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002099/0.002099, allocations: 169.6 kB / 24.28 MB, free: 152 kB / 18.57 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.562/1.562, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3893/0.3893, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 375.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.189e-05, allocations: 9.906 kB / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001528/0.001559, allocations: 0.4892 MB / 375.7 MB, free: 4.523 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003621/0.005181, allocations: 1.989 MB / 377.7 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.868e-06/0.005185, allocations: 0 / 377.7 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.406e-06/0.005188, allocations: 3.938 kB / 377.7 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.011e-06/0.005189, allocations: 4 kB / 377.7 MB, free: 2.504 MB / 346.7 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.001904/0.007094, allocations: 0.5568 MB / 378.3 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 1.604e-05/0.00711, allocations: 4 kB / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.494e-05/0.007135, allocations: 0 / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.305e-05/0.007148, allocations: 0 / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.075e-06/0.007156, allocations: 0 / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.007164, allocations: 4 kB / 378.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.008725, allocations: 0.8574 MB / 379.2 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.671e-06/0.008731, allocations: 0 / 379.2 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.00875, allocations: 3.938 kB / 379.2 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.01, allocations: 0.8261 MB / 380 MB, free: 252 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.01001, allocations: 4 kB / 380 MB, free: 248 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.01001, allocations: 0 / 380 MB, free: 248 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.01001, allocations: 0 / 380 MB, free: 248 kB / 346.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.0005002/0.01051, allocations: 407.6 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.01055, allocations: 8.031 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.01066, allocations: 124.1 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.01082, allocations: 227.8 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.01095, allocations: 238.8 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.01107, allocations: 238.8 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.01118, allocations: 153.4 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.664e-05/0.01125, allocations: 123.4 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.01138, allocations: 242.8 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/0.01151, allocations: 242.3 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.01164, allocations: 238.4 kB / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.01205, allocations: 0.572 MB / 382.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.01223, allocations: 265.4 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.963e-05/0.01231, allocations: 130.9 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.575e-05/0.01237, allocations: 119.2 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.948e-05/0.01246, allocations: 152.6 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.01246, allocations: 0 / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.918e-05/0.01254, allocations: 29.7 kB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.01267, allocations: 212.2 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.01298, allocations: 142.2 kB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.013, allocations: 25.7 kB / 383.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.01307, allocations: 126.9 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.01307, allocations: 0 / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.0131, allocations: 23.31 kB / 384 MB, free: 12.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002693/0.01337, allocations: 492.1 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.35e-06/0.01338, allocations: 0 / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.904e-05/0.01342, allocations: 25.7 kB / 384.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.018e-05/0.01349, allocations: 123.2 kB / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.736e-05/0.01355, allocations: 119.2 kB / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.8e-05/0.01361, allocations: 29.73 kB / 384.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.476e-05/0.01369, allocations: 127.2 kB / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.85e-05/0.01376, allocations: 131.1 kB / 385 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001339/0.01389, allocations: 238.4 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.985e-05/0.01395, allocations: 119.2 kB / 385.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001251/0.01407, allocations: 254.2 kB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.01419, allocations: 119.2 kB / 385.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.434e-05/0.01425, allocations: 127.2 kB / 385.8 MB, free: 10.18 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.0002346/0.01449, allocations: 395 kB / 386.2 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.01459, allocations: 152.9 kB / 386.4 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.939e-05/0.01468, allocations: 155.9 kB / 386.5 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001437/0.01483, allocations: 268 kB / 386.8 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001401/0.01497, allocations: 268.1 kB / 387 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001531/0.01512, allocations: 276 kB / 387.3 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.01545, allocations: 495.9 kB / 387.8 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.222e-05/0.01553, allocations: 152.8 kB / 387.9 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.847e-05/0.01561, allocations: 144.9 kB / 388.1 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001429/0.01576, allocations: 264.1 kB / 388.3 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/0.0159, allocations: 272 kB / 388.6 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001366/0.01604, allocations: 268.1 kB / 388.9 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001451/0.01618, allocations: 268.4 kB / 389.1 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.01645, allocations: 452 kB / 389.6 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.459e-05/0.01653, allocations: 156.8 kB / 389.7 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.01668, allocations: 264.1 kB / 390 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.0168, allocations: 152.8 kB / 390.1 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.01695, allocations: 268.1 kB / 390.4 MB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.01705, allocations: 144.9 kB / 390.5 MB, free: 5.277 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.754e-05/0.01713, allocations: 127.1 kB / 390.6 MB, free: 5.152 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01713, allocations: 0 / 390.6 MB, free: 5.152 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006939/0.01783, allocations: 155.5 kB / 390.8 MB, free: 5 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.001152/0.01898, allocations: 400 kB / 391.2 MB, free: 4.609 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.497e-05/0.01904, allocations: 0 / 391.2 MB, free: 4.609 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01904, allocations: 0 / 391.2 MB, free: 4.609 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.498e-06/0.01905, allocations: 8 kB / 391.2 MB, free: 4.602 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.01957, allocations: 0.7044 MB / 391.9 MB, free: 3.895 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.01981, allocations: 205.7 kB / 392.1 MB, free: 3.664 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.684e-05/0.01987, allocations: 55.36 kB / 392.2 MB, free: 3.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.596e-06/0.01988, allocations: 0 / 392.2 MB, free: 3.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.0199, allocations: 8.5 kB / 392.2 MB, free: 3.582 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0199, allocations: 3.938 kB / 392.2 MB, free: 3.578 MB / 362.7 MB Notification: Performance of Templates: time 0.00819/0.02809, allocations: 3.528 MB / 395.7 MB, free: 52 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.010307947988622]